Bugzilla – Attachment 193862 Details for
Bug 41884
Job report for batch item modifications that fail due to PreventWithdrawingItemsStatus has no details on failed items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41884: Make barcode a link to the item
Bug-41884-Make-barcode-a-link-to-the-item.patch (text/plain), 2.10 KB, created by
Lucas Gass (lukeg)
on 2026-02-25 15:24:04 UTC
(
hide
)
Description:
Bug 41884: Make barcode a link to the item
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2026-02-25 15:24:04 UTC
Size:
2.10 KB
patch
obsolete
>From 4572f0c66cc2d20370ad2a88a82ece56fd677d79 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 25 Feb 2026 15:18:58 +0000 >Subject: [PATCH] Bug 41884: Make barcode a link to the item > >--- > Koha/Items.pm | 7 ++++--- > .../background_jobs/batch_item_record_modification.inc | 2 +- > 2 files changed, 5 insertions(+), 4 deletions(-) > >diff --git a/Koha/Items.pm b/Koha/Items.pm >index 90525e2f33f..7e0a3e60f11 100644 >--- a/Koha/Items.pm >+++ b/Koha/Items.pm >@@ -584,9 +584,10 @@ sub batch_update { > ) > } catch { > push @errors, { >- itemnumber => $item->itemnumber, >- barcode => $item->barcode, >- error => eval { $_->message } || eval { $_->error } || "$_", >+ biblionumber => $item->biblionumber, >+ itemnumber => $item->itemnumber, >+ barcode => $item->barcode, >+ error => eval { $_->message } || "$_", > }; > warn $_ > }; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc >index a889154774e..8180f765e84 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc >@@ -26,7 +26,7 @@ > <ul> > [% FOR error IN report.errors %] > <li> >- [% error.barcode | html %] >+ <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% error.biblionumber | uri %]#item[% error.itemnumber | uri %]">[% error.barcode | html %]</a> > [% IF error.error == 'intransit_cannot_withdraw' %] > : [% t('Item is in transit') | html %] > [% ELSIF error.error == 'onloan_cannot_withdraw' %] >-- >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 41884
:
193367
|
193596
|
193860
|
193861
| 193862 |
193863