From 8c549c47e4582da8f97cf200895f47d22fa912e0 Mon Sep 17 00:00:00 2001 From: Daniel Meltzer Date: Wed, 23 Nov 2016 07:56:08 -0600 Subject: [PATCH] Update bootstrap-table.blade.php (#2964) Fix error when search is not passed through. --- resources/views/partials/bootstrap-table.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index 1accb9af8d..385b84690e 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -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({ }, }); - \ No newline at end of file +