Skip to content

A free open source IT asset/license management system

Pass status ID to ajax

snipe7b8403cdb9c5
diff --git a/resources/views/hardware/index.blade.php b/resources/views/hardware/index.blade.php
index 314c40aba6..12b8d52e32 100755
--- a/resources/views/hardware/index.blade.php
+++ b/resources/views/hardware/index.blade.php
@@ -65,7 +65,7 @@
data-toolbar="#toolbar"
class="table table-striped"
id="table"
- data-url="{{route('api.hardware.list', array(''=>e(Input::get('status')),'order_number'=>e(Input::get('order_number'))))}}"
+ data-url="{{route('api.hardware.list', array(''=>e(Input::get('status')),'order_number'=>e(Input::get('order_number')), 'status_id'=>e(Input::get('status_id'))))}}"
data-cookie="true"
data-click-to-select="true"
data-cookie-id-table="{{ e(Input::get('status')) }}assetTable-{{ config('version.hash_version') }}">