From 8c6d66bd19ef234783f5908511afc49398d11669 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 29 Jan 2015 22:32:21 +0100 Subject: [PATCH] Respect filter input when loading the initial room list --- public/js/vroom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index fea50af..39d6b9a 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -461,7 +461,7 @@ function initAdmin(){ if (data.status === 'success'){ roomList = data.rooms; matches = Object.keys(roomList).length; - updateRoomList('', 0, itemPerPage); + updateRoomList($('#searchRoom').val(), 0, itemPerPage); updatePagination(); } else{