Bugzilla – Attachment 116790 Details for
Bug 20502
Record URL broken, when there is more than one 856 on the record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20502: Fix url vs uri
Bug-20502-Fix-url-vs-uri.patch (text/plain), 2.92 KB, created by
Marcel de Rooy
on 2021-02-12 08:33:28 UTC
(
hide
)
Description:
Bug 20502: Fix url vs uri
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2021-02-12 08:33:28 UTC
Size:
2.92 KB
patch
obsolete
>From d9b4c75b09275680a1ca14ea54a443752fa5e7fc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 10 Feb 2021 08:43:33 +0100 >Subject: [PATCH] Bug 20502: Fix url vs uri >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../intranet-tmpl/prog/en/modules/course_reserves/course-details.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >index 34a1198a4d..1505a65afb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >@@ -226,7 +226,7 @@ > [% IF cr.biblioitem.url.split(' \| ').size > 1 %] > [% FOREACH uri IN cr.biblioitem.url.split(' \| ') %]<a href="[% uri | url %]">[% uri | html %]</a><br>[% END %] > [% ELSE %] >- <a href="[% cr.biblioitem.uri | url %]">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a> >+ <a href="[% cr.biblioitem.url | url %]">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a> > [% END %] > [% END %] > </td> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >index d3d76c3ea0..1a5e7c0a86 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt >@@ -104,7 +104,7 @@ > [% IF cr.biblioitem.url.split(' \| ').size > 1 %] > [% FOREACH uri IN cr.biblioitem.url.split(' \| ') %]<a href="[% uri | url %]">[% uri | html %]</a><br>[% END %] > [% ELSE %] >- <a href="[% cr.biblioitem.uri | url %]">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a> >+ <a href="[% cr.biblioitem.url | url %]">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a> > [% END %] > [% END %] > </td> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20502
:
108712
|
108737
|
108775
|
116636
|
116637
|
116788
|
116789
| 116790 |
116791