Bugzilla – Attachment 189753 Details for
Bug 35722
Item transfer operations should be available from the API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35722: (follow-up) fix parameters on catalogue detail page
0001-Bug-35722-follow-up-fix-parameters-on-catalogue-deta.patch (text/plain), 2.26 KB, created by
Olli Kautonen
on 2025-11-20 10:50:01 UTC
(
hide
)
Description:
Bug 35722: (follow-up) fix parameters on catalogue detail page
Filename:
MIME Type:
Creator:
Olli Kautonen
Created:
2025-11-20 10:50:01 UTC
Size:
2.26 KB
patch
obsolete
>From 0e117777b97cc3c7af1eb06e8f77be32818f0b62 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Johanna=20R=C3=A4is=C3=A4?= <johanna.raisa@gmail.com> >Date: Thu, 6 Nov 2025 16:38:24 +0200 >Subject: [PATCH] Bug 35722: (follow-up) fix parameters on catalogue detail > page > >--- > .../includes/html_helpers/tables/items/catalogue_detail.inc | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >index 922a2192e5..e4b884e08c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >@@ -471,10 +471,10 @@ > nodes += _("due %s").format($date(row.checkout.due_date, { as_due_date: true })); > nodes += "</span>" > } else if ( row.transfer ) { >- if ( row.transfer.datesent ) { >- nodes += '<span class="intransit">%s</span>'.format(_("In transit from %s to %s since %s").format(escape_str(row.transfer._strings.from_library.str), escape_str(row.transfer._strings.to_library.str), $date(row.transfer.datesent))); >+ if ( row.transfer.date_sent ) { >+ nodes += '<span class="intransit">%s</span>'.format(_("In transit from %s to %s since %s").format(escape_str(row.transfer._strings.from_library.str), escape_str(row.transfer._strings.to_library.str), $date(row.transfer.date_sent))); > } else { >- nodes += '<span class="transitrequested">%s</span>'.format(_("Transit pending from %s to %s since %s").format(escape_str(row.transfer._strings.from_library.str), escape_str(row.transfer._strings.to_library.str), $date(row.transfer.daterequested))); >+ nodes += '<span class="transitrequested">%s</span>'.format(_("Transit pending from %s to %s since %s").format(escape_str(row.transfer._strings.from_library.str), escape_str(row.transfer._strings.to_library.str), $date(row.transfer.date_requested))); > } > } > >-- >2.34.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 35722
:
183069
| 189753