mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Added cookie option to assets Bootstrap Table to save the state of the table.
This commit is contained in:
parent
11d9b1ba45
commit
d2e94dfc1c
|
@ -991,7 +991,8 @@
|
||||||
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
|
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]
|
||||||
}'
|
}'
|
||||||
data-url="{{ route('api.maintenances.index', array('asset_id' => $asset->id)) }}"
|
data-url="{{ route('api.maintenances.index', array('asset_id' => $asset->id)) }}"
|
||||||
data-cookie-id-table="assetMaintenancesTable">
|
data-cookie-id-table="assetMaintenancesTable"
|
||||||
|
data-cookie="true">
|
||||||
</table>
|
</table>
|
||||||
</div> <!-- /.col-md-12 -->
|
</div> <!-- /.col-md-12 -->
|
||||||
</div> <!-- /.row -->
|
</div> <!-- /.row -->
|
||||||
|
@ -1019,7 +1020,8 @@
|
||||||
}'
|
}'
|
||||||
|
|
||||||
data-url="{{ route('api.activity.index', ['item_id' => $asset->id, 'item_type' => 'asset']) }}"
|
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">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th data-visible="true" style="width: 40px;" class="hidden-xs">Icon</th>
|
<th data-visible="true" style="width: 40px;" class="hidden-xs">Icon</th>
|
||||||
|
|
Loading…
Reference in a new issue