mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -08:00
Update bootstrap-table.blade.php (#2964)
Fix error when search is not passed through.
This commit is contained in:
parent
45c789021e
commit
8c549c47e4
|
@ -12,7 +12,7 @@ $('.snipe-table').bootstrapTable({
|
|||
undefinedText: '',
|
||||
iconsPrefix: 'fa',
|
||||
showRefresh: true,
|
||||
@if ($search)
|
||||
@if (isset($search))
|
||||
search: true,
|
||||
@endif
|
||||
pageSize: {{ $snipeSettings->per_page }},
|
||||
|
@ -51,4 +51,4 @@ $('.snipe-table').bootstrapTable({
|
|||
},
|
||||
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue