Skip to content

A free open source IT asset/license management system

Added additional sort/order hidden fields

snipe2c7bbfa6376c
diff --git a/resources/views/partials/asset-bulk-actions.blade.php b/resources/views/partials/asset-bulk-actions.blade.php
index d56c7dc394..d46b4e525b 100644
--- a/resources/views/partials/asset-bulk-actions.blade.php
+++ b/resources/views/partials/asset-bulk-actions.blade.php
@@ -6,8 +6,9 @@
'id' => (isset($id_formname)) ? $id_formname : 'assetsBulkForm',
]) }}
- {{-- The 'id ASC' will only be used if the cookie is actually empty (like on first-use) --}}
- <input name="sort" type="hidden" value="id ASC">
+ {{-- The sort and order will only be used if the cookie is actually empty (like on first-use) --}}
+ <input name="sort" type="hidden" value="assets.id">
+ <input name="order" type="hidden" value="asc">
<label for="bulk_actions">
<span class="sr-only">
{{ trans('button.bulk_actions') }}