From d2e94dfc1cb91d116479a324c1f2e9d547431385 Mon Sep 17 00:00:00 2001 From: Ivan Nieto Vivanco Date: Thu, 8 Jul 2021 14:05:40 -0500 Subject: [PATCH] Added cookie option to assets Bootstrap Table to save the state of the table. --- resources/views/hardware/view.blade.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 3b9dfb4f59..c4d06ada2e 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -991,7 +991,8 @@ "ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"] }' data-url="{{ route('api.maintenances.index', array('asset_id' => $asset->id)) }}" - data-cookie-id-table="assetMaintenancesTable"> + data-cookie-id-table="assetMaintenancesTable" + data-cookie="true"> @@ -1019,7 +1020,8 @@ }' data-url="{{ route('api.activity.index', ['item_id' => $asset->id, 'item_type' => 'asset']) }}" - data-cookie-id-table="assetHistory"> + data-cookie-id-table="assetHistory" + data-cookie="true"> Icon