[Koha-bugs] [Bug 3920] XSLTdetailDisplay syspref controls both OPAC and Intranet XSLT detail display

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Wed Feb 10 17:55:06 CET 2010


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3920





--- Comment #4 from Owen Leonard <oleonard at myacpl.org>  2010-02-10 16:55:06 ---
The change to Auth.pm:

@@ -350,8 +350,8 @@ sub get_template_and_user {
             'item-level_itypes'          =>
C4::Context->preference('item-level_itypes'),
             patronimages                 =>
C4::Context->preference("patronimages"),
             singleBranchMode             =>
C4::Context->preference("singleBranchMode"),
-            XSLTDetailsDisplay           =>
C4::Context->preference("XSLTDetailsDisplay"),
-            XSLTResultsDisplay           =>
C4::Context->preference("XSLTResultsDisplay"),
+            OPACXSLTDetailsDisplay       =>
C4::Context->preference("XSLTDetailsDisplay"),
+            OPACXSLTResultsDisplay       =>
C4::Context->preference("XSLTResultsDisplay"),
             BranchesLoop                 => GetBranchesLoop(),
     );

This changes the staff client variable to "OPACXSLTDetailsDisplay" and
"OPACXSLTResultsDisplay" and fails to set variables for the OPAC side.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list