didn't mean to leave param2 and param3 in there
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 15 Jul 2009 19:19:21 +0000 (19:19 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 15 Jul 2009 19:19:21 +0000 (19:19 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13608 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/search_form.js

index b0b101e..82907c8 100644 (file)
@@ -17,8 +17,8 @@ patron.search_form.prototype = {
         // The bulk of params.query is getting parsed/rendered by obj.controller.init below, and will be reconstituted from possibly modified XUL elements upon Submit.
         // But we're going to let search_limit and search_sort be configurable now by those spawning this interface, and let's assume there are no corresponding widgets for now.  
         // I'm going to place them into the "obj" scope for this instance.
-        obj.search_limit = params.param2;
-        obj.search_sort = JSON2js( params.param3 ); // Let's assume this is encoded as JSON
+        obj.search_limit = params.search_limit;
+        obj.search_sort = JSON2js( params.search_sort ); // Let's assume this is encoded as JSON
 
                JSAN.use('OpenILS.data'); this.OpenILS = {}; 
                obj.OpenILS.data = new OpenILS.data(); obj.OpenILS.data.init({'via':'stash'});