From 40e34d5274bcb3a045f605a9d35949db39c61256 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Wed, 9 May 2012 10:30:17 -0400 Subject: [PATCH] LP975422 patron search from portal/splash page make it consider the "Patron circulation summary is horizontal" library setting Signed-off-by: Jason Etheridge Signed-off-by: Dan Scott --- Open-ILS/xul/staff_client/server/index.xhtml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/index.xhtml b/Open-ILS/xul/staff_client/server/index.xhtml index 15fe507a24..57aef290de 100644 --- a/Open-ILS/xul/staff_client/server/index.xhtml +++ b/Open-ILS/xul/staff_client/server/index.xhtml @@ -219,15 +219,13 @@ } function find_patron(newtab) { if(newtab) - xulG.new_tab(urls.XUL_PATRON_DISPLAY,{},{}); + xulG.new_patron_tab({},{}); else - xulG.set_tab(urls.XUL_PATRON_DISPLAY,{},{}); + xulG.set_patron_tab({},{}); } function spawn_search(s) { - var loc = urls.XUL_PATRON_DISPLAY; - loc += '?doit=1&query=' + window.escape(js2JSON(s)); - xulG.new_tab( loc, {}, {} ); + xulG.new_patron_tab( {}, { 'doit' : 1, 'query' : js2JSON(s) } ); } function register_patron(newtab) { function spawn_editor(p) { -- 2.11.0