Bugzilla – Attachment 162424 Details for
Bug 35944
Bookings is not taken into account in CanBookBeRenewed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35944: Add link to 'booked' biblio in checkouts table
Bug-35944-Add-link-to-booked-biblio-in-checkouts-t.patch (text/plain), 1.52 KB, created by
Martin Renvoize (ashimema)
on 2024-02-26 09:28:37 UTC
(
hide
)
Description:
Bug 35944: Add link to 'booked' biblio in checkouts table
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-02-26 09:28:37 UTC
Size:
1.52 KB
patch
obsolete
>From c8f71369106b0afce04fbdd4c6baf96e10ada0de Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 26 Feb 2024 09:27:27 +0000 >Subject: [PATCH] Bug 35944: Add link to 'booked' biblio in checkouts table > >This patch updates the checkouts table so handle 'booked' items >including linking to the biblio booking details page. >--- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index 3ab2ec65928..33367c96ba9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -238,6 +238,12 @@ function LoadIssuesTable() { > > span_style = "display: none"; > span_class = "renewals-allowed-recalled"; >+ } else if ( oObj.can_renew_error == "booked" ) { >+ msg += "<span>" >+ + "<a href='/cgi-bin/koha/bookings/list.pl?biblionumber=" + oObj.biblionumber + "'>" + __("Booked") + "</a>" >+ + "</span>"; >+ span_style = "display: none"; >+ span_class = "renewals-allowed-booked"; > } else if ( oObj.can_renew_error == "on_reserve" ) { > msg += "<span>" > +"<a href='/cgi-bin/koha/reserve/request.pl?biblionumber=" + oObj.biblionumber + "'>" + __("On hold") + "</a>" >-- >2.43.2
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 35944
:
162407
|
162408
|
162417
|
162418
|
162423
|
162424
|
163201
|
163202
|
163203
|
163204
|
163205
|
163206
|
163208
|
163209
|
163210
|
163211
|
163212
|
163213