LP#1244547 Fix reference to new isFiltered variable
authorRemington Steed <rjs7@calvin.edu>
Wed, 14 Jun 2017 16:43:39 +0000 (12:43 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 20 Jun 2017 15:08:33 +0000 (11:08 -0400)
This commit completes the intention of the previous commit, which
accidentally checked the isFiltered object instead of its value.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

Open-ILS/xul/staff_client/server/admin/org_unit_settings.js

index 20bfff2..85a9ea8 100644 (file)
@@ -133,7 +133,7 @@ function osDraw(specific_setting) {
             names.push(key);
     }
     
-    if(dojo.byId('isFiltered') == 'true') {
+    if(dojo.byId('isFiltered').value == 'true') {
         osLimitSeen(dojo.byId('searchBox').value);
     } else {
         osDrawNames(names);