Bugzilla – Attachment 190049 Details for
Bug 41338
Hold found dialog does not show item home and check-in libraries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41338: Hold found notice should show item's home library and where it is currently checked in
Bug-41338-Hold-found-notice-should-show-items-home.patch (text/plain), 2.31 KB, created by
Peter Vashchuk
on 2025-12-01 14:32:17 UTC
(
hide
)
Description:
Bug 41338: Hold found notice should show item's home library and where it is currently checked in
Filename:
MIME Type:
Creator:
Peter Vashchuk
Created:
2025-12-01 14:32:17 UTC
Size:
2.31 KB
patch
obsolete
>From 00f773e1cf70731340946e4f87082357989bb5db Mon Sep 17 00:00:00 2001 >From: Petro Vashchuk <stalkernoid@gmail.com> >Date: Mon, 1 Dec 2025 16:31:44 +0200 >Subject: [PATCH] Bug 41338: Hold found notice should show item's home library > and where it is currently checked in > >This patch adds a description of item's home library and the library where the item is currently >checked in at, to the hold found notice when you check in the item. Also to avoid redundancy, >the home library will be shown only when destination branch is different from the home branch. > >To reproduce: >1. Configure three libraries, A, B and C. >2. Create an item with the home library A. >3. Check in the item at the library B. >4. Place a hold with a pickup branch C and then check thought the interface for the same library C. >5. The only information about branch related to the item will be "Transfer to: Fairfield". >6. Click ignore and cancel the transfer. >7. Apply the patch. >8. Check in the item again. >9. This time you should see the full information about home library and where the item is currently checked in at. >--- > .../intranet-tmpl/prog/en/modules/circ/returns.tt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index eb71cb8dbc7..dc070707437 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -957,6 +957,19 @@ > <h4><strong>[% t('Hold at') | html %]</strong> [% Branches.GetName( destbranch ) | html %]</h4> > [% END %] > >+ <p class="hint"> >+ [% SET show_home = item.homebranch && item.homebranch != destbranch %] >+ >+ [% IF show_home %] >+ <strong>[% t('Item home library') | html %]:</strong> >+ [% Branches.GetName( item.homebranch ) | html %] >+ | >+ [% END %] >+ >+ <strong>[% t('Checked in at') | html %]:</strong> >+ [% Branches.GetName( Branches.GetLoggedInBranchcode ) | html %] >+ </p> >+ > [% PROCESS passthrough_data %] > > <input type="hidden" name="op" value="cud-affect_reserve" /> >-- >2.51.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 41338
:
190049
|
190152