snipe-it/app/Http/Controllers/Api
Jeremy Price d3bcc48ae5 [imports] fix "Backup before importing?" checkbox on import page
We were always taking backups before import, no matter the status of
this box.

Turns out we were testing for the presence of the property defined by
the checkbox, rather than the value of the property, and as such were
always doing a backup.

We're now checking the status, and it behaves as expected
2023-01-23 15:08:59 -08:00
..
AccessoriesController.php Removed duplicated $allowed_columns 2022-06-14 15:06:04 -07:00
AssetMaintenancesController.php Additional filters on maintenances UI 2022-06-14 16:10:48 -07:00
AssetModelsController.php Correctly filter by category_id 2022-06-13 20:42:21 -07:00
AssetsController.php Derp. Copypasta 2023-01-18 15:44:28 -08:00
CategoriesController.php Added comments 2023-01-10 16:24:46 -08:00
CompaniesController.php Added additional filters for api indexes 2022-06-28 19:59:45 -07:00
ComponentsController.php Added note on checkout 2022-08-10 15:04:59 -07:00
ConsumablesController.php Fixed some layout issues 2022-11-01 19:06:49 -07:00
CustomFieldsController.php Check for the format index in the $data array when creating a new custom field via API 2022-11-16 15:53:16 +00:00
CustomFieldsetsController.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
DepartmentsController.php Added additional filters for api indexes 2022-06-28 19:59:45 -07:00
DepreciationsController.php adds a Floor value for depreciation models 2021-08-16 18:14:10 -07:00
GroupsController.php Added additional filters for api indexes 2022-06-28 19:59:45 -07:00
ImportController.php [imports] fix "Backup before importing?" checkbox on import page 2023-01-23 15:08:59 -08:00
LicensesController.php Removed duplicate supplier_id 2022-07-13 13:08:15 -07:00
LicenseSeatsController.php Correct comparison logic 2022-10-08 12:54:15 +07:00
LocationsController.php Renamed column back to assets_count for legacy 2022-10-26 09:39:03 -07:00
ManufacturersController.php Added additional filters for api indexes 2022-06-28 19:59:45 -07:00
PredefinedKitsController.php Merge master into develop 2022-01-12 20:51:33 -08:00
ProfileController.php Formatted show api 2022-06-28 23:23:55 -07:00
ReportsController.php Added relations to report search 2022-08-02 23:50:10 -07:00
SettingsController.php Attempt a download via API 2022-06-28 23:59:13 -07:00
StatuslabelsController.php Fixed #11521 - switch to using status meta from status label name 2022-09-29 03:48:58 -07:00
SuppliersController.php Added additional filters for api indexes 2022-06-28 19:59:45 -07:00
UsersController.php Formatting changes only for readability 2023-01-17 17:21:20 -08:00