From 7b97e9f765cfb06896103cb17c50a1bea5405624 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) Fix typo in script name

903                               let title = `<a
class="return-claim-title strong"
href="/cgi-bin/koha/circ/request-rcticle.pl?biblionumber=[%
rc.checkout.item.biblionumber | html %]">

request-rcticle.pl vs request-acticle.pl

Test plan:
- Have something in the claim table (cf bug 14697)
- Click on the title of the bibliographic record
---
 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