Bugzilla – Attachment 190667 Details for
Bug 41477
Show barcode of item in the action logs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41477: Display barcode for items in cataloguing action logs
Bug-41477-Display-barcode-for-items-in-cataloguing.patch (text/plain), 1.86 KB, created by
Nick Clemens (kidclamp)
on 2025-12-22 13:57:59 UTC
(
hide
)
Description:
Bug 41477: Display barcode for items in cataloguing action logs
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-12-22 13:57:59 UTC
Size:
1.86 KB
patch
obsolete
>From 823ed0f0716249ea0200f4baf1f0f500978b1348 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 18 Dec 2025 13:18:02 +0000 >Subject: [PATCH] Bug 41477: Display barcode for items in cataloguing action > logs > >This patch displays the barcode, already passed to the template, when >viewing modification logs for items. > >To test: > 1 - Find a biblio > 2 - Add or edit some items on the biblio > 3 - Edit them again to ensure we have some data > 4 - Click 'Modification log' tab on the left in biblio view > 5 - See items are displayed only by itemnumber > 6 - Apply patch > 7 - Reload > 8 - Now you see the current barcode for the item > 9 - Use itemnumber of one of the items as the 'Object' and search >10 - Verify you still see barcode info >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >index 6e434a5c67f..348240101c4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >@@ -279,6 +279,7 @@ > [% END %] > [% ELSIF ( loopro.module == 'CATALOGUING' ) %] > [% IF ( loopro.info.substr(0, 4) == 'item' ) %] >+ Barcode:<span class="barcode">[% loopro.barcode | html %]</span></br> > <a > href="/cgi-bin/koha/catalogue/moredetail.pl?item=[% loopro.object | uri %]&biblionumber=[% loopro.biblionumber | uri %]&bi=[% loopro.biblioitemnumber | uri %]#item[% loopro.object | uri %]" > >Item [% loopro.object | html %]</a >-- >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 41477
:
190621
| 190667 |
190668