http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6146

Owen Leonard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
       Patch Status|Needs Signoff               |Failed QA

--- Comment #4 from Owen Leonard <[email protected]> 2011-10-07 14:11:25 UTC 
---
OPACBaseURL is used in several places now, including the link to the OPAC from
the detail page. It is used in the patch pending for Bug 6957. However, the way
I've seen it used is to call the preference directly. In detail.pl:

# Get OPAC URL
if (C4::Context->preference('OPACBaseURL')){
     $template->param( OpacUrl => C4::Context->preference('OPACBaseURL') );
}

And build the link assuming that OPACBaseURL contains just the domain. In
detail.tt:

<a href="http://[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[%
biblionumber %]" target="_blank">Open in new window</a>

Before or after this patch, if I leave the OPACBaseURL system preference empty,
the output of the OPACBaseURL variable generated by Auth.pm is empty as well. I
suspect something is wrong in the way the code builds the URL with or without
this patch.

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to