From 2dbe5a86b26f118e8ce717fcaedfc3ae52b1b06c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 1 Aug 2019 15:09:32 +0200 Subject: [roomplanner] Search only returns clients allowed in that room Don't return clients that wouldn't be allowed to be assigned to that location according to the rules in the Location class. --- modules-available/roomplanner/clientscript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/roomplanner/clientscript.js') diff --git a/modules-available/roomplanner/clientscript.js b/modules-available/roomplanner/clientscript.js index 823c212a..48311a09 100644 --- a/modules-available/roomplanner/clientscript.js +++ b/modules-available/roomplanner/clientscript.js @@ -83,7 +83,7 @@ function loadMachines(query, callback) { } } $.ajax({ - url: '?do=roomplanner&action=getmachines&query=' + encodeURIComponent(query), + url: '?do=roomplanner&action=getmachines&query=' + encodeURIComponent(query) + '&locationid=' + locationId, type: 'GET', dataType: 'json', error: function() { -- cgit v1.2.3-55-g7522