From 611b4b1ab4b586a815bb4035bf141438c5939b46 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 27 Dec 2011 21:17:02 -0500 Subject: [PATCH] TPAC: Set search_ou context in common loader By setting the search_ou context in load_common() after checking for a valid user session, we can catch the remaining pages in TPAC in which the default search library was not being set properly. Signed-off-by: Dan Scott Signed-off-by: Jason Stephenson --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm index 59a2cb1fba..5091c5022c 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm @@ -243,6 +243,7 @@ sub load_common { return $self->load_logout($self->apache->unparsed_uri); } } + $ctx->{search_ou} = $self->_get_search_lib(); $self->staff_saved_searches_set_expansion_state if $ctx->{is_staff}; -- 2.43.2