From 968f337728d1e13040389381fef01adc39e8be5c Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 17 Jul 2013 18:02:13 +0000 Subject: [PATCH] Bug 10515: (follow-up) fix use of GetBranchCategories Adjusting to reflect the removal of the branchcode parameter to GetBranchCategories; also filter on the 'searchdomain' library group type, as appears to have been intended. Signed-off-by: Galen Charlton --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 3c0b804a2c..b19113caee 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -390,7 +390,7 @@ sub get_template_and_user { AnonSuggestions => "" . C4::Context->preference("AnonSuggestions"), AuthorisedValueImages => C4::Context->preference("AuthorisedValueImages"), BranchesLoop => GetBranchesLoop($opac_name), - BranchCategoriesLoop => GetBranchCategories( undef, undef, 1, $opac_name ), + BranchCategoriesLoop => GetBranchCategories( 'searchdomain', 1, $opac_name ), CalendarFirstDayOfWeek => (C4::Context->preference("CalendarFirstDayOfWeek") eq "Sunday")?0:1, LibraryName => "" . C4::Context->preference("LibraryName"), LibraryNameTitle => "" . $LibraryNameTitle, -- 2.39.5