From: phasefx Date: Wed, 15 Jul 2009 19:19:21 +0000 (+0000) Subject: didn't mean to leave param2 and param3 in there X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4e6175146b97ccda36571883da34e1267b2dd6d3;p=evergreen%2Ftadl.git didn't mean to leave param2 and param3 in there git-svn-id: svn://svn.open-ils.org/ILS/trunk@13608 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/search_form.js b/Open-ILS/xul/staff_client/server/patron/search_form.js index b0b101ef48..82907c8b5b 100644 --- a/Open-ILS/xul/staff_client/server/patron/search_form.js +++ b/Open-ILS/xul/staff_client/server/patron/search_form.js @@ -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'});