Bug FIX : ISBD links to pages should be changed in order to work both at OPAC and intranet.
Proposing a quick fix for that. parsing links to change calls from /cgi-bin/koha/***/function.pl?myvars to opar-function.pl?myvars Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
58d3b163d0
commit
8c482560f4
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ foreach my $isbdfield ( split /#/, $bloc ) {
|
|||
my $tagsubf = $tag . $subfieldcode;
|
||||
$calculated =~
|
||||
s/\{(.?.?.?.?)$tagsubf(.*?)\}/$1$subfieldvalue$2\{$1$tagsubf$2\}/g;
|
||||
$calculated =~s#/cgi-bin/koha/[^/]+/([^.]*.pl\?.*)$#opac-$1#g;
|
||||
}
|
||||
|
||||
# field builded, store the result
|
||||
|
|
Loading…
Reference in a new issue