A free open source IT asset/license management system
Override the table search with the asset tag search if one is passed
snipefcace4a192fc
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex 4407ade5cb..be2677b87b 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -102,6 +102,7 @@paginationNextText: "{{ trans('general.next') }}",paginationPreText: "{{ trans('general.previous') }}",search: data_with_default('search', true),+ searchText: "{{ request()->get('assetTag') ?? session()->get('search') }}", // this is needed so that people who incorrectly use the topsearch as an omnibar will not have an additional filter from BS tablessearchHighlight: data_with_default('search-highlight', true),showColumns: data_with_default('show-columns', true),showColumnsToggleAll: data_with_default('show-columns-toggle-all', true),