diff --git a/ereuse_devicehub/static/js/main_inventory.build.js b/ereuse_devicehub/static/js/main_inventory.build.js
index 0032f649..c4bff9c4 100644
--- a/ereuse_devicehub/static/js/main_inventory.build.js
+++ b/ereuse_devicehub/static/js/main_inventory.build.js
@@ -30,6 +30,9 @@ $(document).ready(() => {
;
select_shift(); // $('#selectLot').selectpicker();
+ $("#filter").on("change", () => {
+ $("#submit_filter").click();
+ });
});
class TableController {
diff --git a/ereuse_devicehub/static/js/main_inventory.js b/ereuse_devicehub/static/js/main_inventory.js
index f5c50241..3088257c 100644
--- a/ereuse_devicehub/static/js/main_inventory.js
+++ b/ereuse_devicehub/static/js/main_inventory.js
@@ -16,6 +16,9 @@ $(document).ready(() => {
};
select_shift();
// $('#selectLot').selectpicker();
+ $("#filter").on("change", () => {
+ $("#submit_filter").click();
+ });
})
class TableController {
diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html
index ec1666a7..426b7b02 100644
--- a/ereuse_devicehub/templates/inventory/device_list.html
+++ b/ereuse_devicehub/templates/inventory/device_list.html
@@ -374,7 +374,7 @@
{% endfor %}
-
+