Bugzilla – Attachment 178867 Details for
Bug 38861
Error loading the table in the bookings to collect report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38861: Use a render function to display pickup name or pickup ID
Bug-38861-Use-a-render-function-to-display-pickup-.patch (text/plain), 1.37 KB, created by
Andrew Fuerste-Henry
on 2025-02-28 16:23:13 UTC
(
hide
)
Description:
Bug 38861: Use a render function to display pickup name or pickup ID
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-02-28 16:23:13 UTC
Size:
1.37 KB
patch
obsolete
>From 20c1452aaf3c9fd66806087bc395261549dcc808 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 28 Feb 2025 15:09:52 +0000 >Subject: [PATCH] Bug 38861: Use a render function to display pickup name or > pickup ID > >To test: >0. Have some bookings that are ready to collect. >1. Load the bookings to collect report. >2. Table does not load. >3. APPLY PATCH >4. Try again, table loads. >5. Make sure you can filter by 'Pickup library' > >Signed-off-by: Kristi Krueger <KKRUEGER@cuyahogalibrary.org> >--- > .../intranet-tmpl/prog/en/modules/circ/pendingbookings.tt | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt >index 522c68cf0b..ec56c04849 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt >@@ -187,6 +187,9 @@ > "title": _("Pickup library"), > "searchable": true, > "orderable": true, >+ "render": function( data, type, row, meta ) { >+ return escape_str(row.pickup_library_id ? row.pickup_library.name : row.pickup_library_id); >+ } > }, > { > "data": "biblio.title", >-- >2.39.5
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 38861
:
176372
|
178838
|
178867
|
178931