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{