Respect filter input when loading the initial room list

master
Daniel Berteaud 10 years ago
parent 610c486484
commit 8c6d66bd19
  1. 2
      public/js/vroom.js

@ -461,7 +461,7 @@ function initAdmin(){
if (data.status === 'success'){ if (data.status === 'success'){
roomList = data.rooms; roomList = data.rooms;
matches = Object.keys(roomList).length; matches = Object.keys(roomList).length;
updateRoomList('', 0, itemPerPage); updateRoomList($('#searchRoom').val(), 0, itemPerPage);
updatePagination(); updatePagination();
} }
else{ else{

Loading…
Cancel
Save