[OPEN-ILS-DEV] Passing parameters to patron search in staff client

Jason Etheridge jason at esilibrary.com
Fri Sep 23 06:34:46 EDT 2011


> Thanks for the reply. I'd tried this format of the search hash, although using window.xulG.set_tab instead of xulG.new_patron_tab. I've just modified the code to match the example you gave, this time using xulG.new_patron_tab, but unfortunately it still returns the same error :(

Hrmm, okay, the missing piece is js2JSON.  I can do this the
Javascript shell and it works:

xulG.new_patron_tab( {}, { 'doit' : 1, 'query' : js2JSON({
'family_name' : { 'value' : 'system', 'group' : 0 } }) });

-- 
Jason Etheridge
 | Equinox Software, Inc. / Your Library's Guide to Open Source
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  jason at esilibrary.com
 | web:  http://www.esilibrary.com


More information about the Open-ils-dev mailing list