Check for true/false explicitly on api table view

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-10-18 13:05:06 +01:00
parent f2bc7d6173
commit 787a64d313

View file

@ -46,7 +46,7 @@
data-sort-order="asc"
id="manufacturersTable"
class="table table-striped snipe-table"
data-url="{{route('api.manufacturers.index', ['deleted' => e(Request::get('deleted')) ]) }}"
data-url="{{route('api.manufacturers.index', ['deleted' => (request('deleted')=='true') ? 'true' : 'false' ]) }}"
data-export-options='{
"fileName": "export-manufacturers-{{ date('Y-m-d') }}",
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]