JBAS-1132 Staged user dupe search repair
authorBill Erickson <berickxx@gmail.com>
Mon, 14 Mar 2016 19:27:31 +0000 (15:27 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Duplicate searches from staged users were failing due to incorrect use
of new_patron_tab within staged.js.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/xul/staff_client/server/patron/staged.js

index ff8e751..570aec5 100644 (file)
@@ -167,7 +167,7 @@ function cancel(ids) {
 
 function spawn_search(s) {
     data.stash_retrieve();
-    xulG.new_patron_tab( {}, { 'doit' : 1, 'query' : s } );
+    xulG.new_patron_tab( {}, { 'doit' : 1, 'query' : js2JSON(s) } );
 }
 
 function spawn_editor(p,func) {