[open-ils-commits] r13609 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jul 15 15:20:45 EDT 2009


Author: phasefx
Date: 2009-07-15 15:20:42 -0400 (Wed, 15 Jul 2009)
New Revision: 13609

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/search_form.js
Log:
eh, still didn't think it through.  so much for one changeset :)

Modified: trunk/Open-ILS/xul/staff_client/server/patron/search_form.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/search_form.js	2009-07-15 19:19:21 UTC (rev 13608)
+++ trunk/Open-ILS/xul/staff_client/server/patron/search_form.js	2009-07-15 19:20:42 UTC (rev 13609)
@@ -17,8 +17,8 @@
         // 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.search_limit;
-        obj.search_sort = JSON2js( params.search_sort ); // Let's assume this is encoded as JSON
+        obj.search_limit = params.query.search_limit;
+        obj.search_sort = JSON2js( params.query.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'});



More information about the open-ils-commits mailing list