Bugzilla – Attachment 99806 Details for
Bug 24727
Typo in circulation.js
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24727: (bug 14697 follow-up) Replace link on title to bib detail page
Bug-24727-bug-14697-follow-up-Replace-link-on-titl.patch (text/plain), 1.85 KB, created by
Katrin Fischer
on 2020-02-29 09:04:20 UTC
(
hide
)
Description:
Bug 24727: (bug 14697 follow-up) Replace link on title to bib detail page
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-02-29 09:04:20 UTC
Size:
1.85 KB
patch
obsolete
>From 27ceab8139c5d61075a7f6f7aa287dc78cf1e615 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 25 Feb 2020 14:17:27 +0100 >Subject: [PATCH] Bug 24727: (bug 14697 follow-up) Replace link on title to bib > detail page > >903 let title = `<a >class="return-claim-title strong" >href="/cgi-bin/koha/circ/request-rcticle.pl?biblionumber=[% >rc.checkout.item.biblionumber | html %]"> > >At first it seems like a typo: >request-rcticle.pl vs request-acticle.pl > >But actually it does not make sense to link to request-article, we want >(I think) to link to the bibliographic record detail page. > >Test plan: >- Have something in the claim table (cf bug 14697) >- Click on the title of the bibliographic record > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index c1ca172f33..1bbb884afe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -900,7 +900,7 @@ $(document).ready(function() { > }, > { > "mDataProp": function ( oObj ) { >- let title = `<a class="return-claim-title strong" href="/cgi-bin/koha/circ/request-rcticle.pl?biblionumber=[% rc.checkout.item.biblionumber | html %]"> >+ let title = `<a class="return-claim-title strong" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=${oObj.biblionumber}"> > ${oObj.title} > ${oObj.enumchron || ""} > </a>`; >-- >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 24727
:
99579
|
99581
|
99588
|
99632
| 99806