Bugzilla – Attachment 178931 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.43 KB, created by
Martin Renvoize (ashimema)
on 2025-03-04 16:48:51 UTC
(
hide
)
Description:
Bug 38861: Use a render function to display pickup name or pickup ID
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-03-04 16:48:51 UTC
Size:
1.43 KB
patch
obsolete
>From 182c06cb88488e136409cc375aceca3ad935b16c 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> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../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 522c68cf0bd..ec56c048491 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.48.1
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