Update bootstrap-table.blade.php (#2964)

Fix error when search is not passed through.
This commit is contained in:
Daniel Meltzer 2016-11-23 07:56:08 -06:00 committed by snipe
parent 45c789021e
commit 8c549c47e4

View file

@ -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>