Bugzilla – Attachment 186844 Details for
Bug 26993
Allow StoreLastBorrower to retain a locally-defined number of previous borrowers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26993: (follow-up) Fix template issue when last_returned_by_all returns 1 result
Bug-26993-follow-up-Fix-template-issue-when-lastre.patch (text/plain), 1.28 KB, created by
Lucas Gass (lukeg)
on 2025-09-23 20:04:02 UTC
(
hide
)
Description:
Bug 26993: (follow-up) Fix template issue when last_returned_by_all returns 1 result
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-09-23 20:04:02 UTC
Size:
1.28 KB
patch
obsolete
>From ecf556c60244efc0f4097ab68dacdf76651066f6 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 23 Sep 2025 20:01:17 +0000 >Subject: [PATCH] Bug 26993: (follow-up) Fix template issue when > last_returned_by_all returns 1 result > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >index 655f0244a8b..c159c5f290a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt >@@ -496,7 +496,7 @@ > > [% IF Koha.Preference('StoreLastBorrower') && Koha.Preference('StoreLastBorrower') > 0 %] > [% SET all_borrowers = ITEM_DAT.object.last_returned_by_all %] >- [% IF all_borrowers.size > 0 %] >+ [% IF all_borrowers.0 %] > <li> > <span class="label">Last returned by:</span> > [% FOREACH patron IN all_borrowers %] >-- >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 26993
:
186773
|
186774
|
186775
|
186776
|
186801
|
186805
|
186806
|
186807
|
186808
|
186809
|
186844
|
186853
|
187311
|
187312
|
187313
|
187314
|
187315
|
187316
|
187459
|
187460
|
187483
|
187484