avoid using the too-magical selector value collector
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 29 Aug 2008 16:03:00 +0000 (16:03 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 29 Aug 2008 16:03:00 +0000 (16:03 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10476 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/adv_global.js

index 21c5d23..5b5769c 100644 (file)
@@ -174,7 +174,7 @@ function advSubmitGlobal() {
        var itemtypes = advGetVisSelectorVals('adv_global_item_type');
        var audiences = advGetVisSelectorVals('adv_global_audience');
        var biblevels = advGetVisSelectorVals('adv_global_bib_level');
-    var locations = advGetVisSelectorVals('adv_copy_location_filter_select');
+    var locations = getSelectedList($('adv_copy_location_filter_select'));
        var languages = getSelectedList($('adv_global_lang')) + '';     
     var limit2avail = $('opac.result.limit2avail').checked ? 1 : ''