Bugzilla – Attachment 141205 Details for
Bug 31663
Item not showing transit status on detail page in staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31663: Item transfers are not correctly displayed on item details page
Bug-31663-Item-transfers-are-not-correctly-display.patch (text/plain), 1.39 KB, created by
Katrin Fischer
on 2022-10-02 09:29:16 UTC
(
hide
)
Description:
Bug 31663: Item transfers are not correctly displayed on item details page
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-10-02 09:29:16 UTC
Size:
1.39 KB
patch
obsolete
>From ac2bd83a3396c47db294dc0bb5e467a446839e99 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 30 Sep 2022 11:31:25 +0000 >Subject: [PATCH] Bug 31663: Item transfers are not correctly displayed on item > details page > >To test: >1 - Set an item in transit and confirm the transfer >2 - View details page for biblio >3 - Item shows 'Available' >4 - Apply patch >5 - Restart_all, reload page >6 - Item appears in transit > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > catalogue/detail.pl | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index a06c470bf3..3af82774ce 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -403,10 +403,10 @@ foreach my $item (@items) { > # Check the transit status > my $transfer = $item->get_transfer; > if ( $transfer && $transfer->in_transit ) { >- $item->{transfertwhen} = $transfer->datesent; >- $item->{transfertfrom} = $transfer->frombranch; >- $item->{transfertto} = $transfer->tobranch; >- $item->{nocancel} = 1; >+ $item_info->{transfertwhen} = $transfer->datesent; >+ $item_info->{transfertfrom} = $transfer->frombranch; >+ $item_info->{transfertto} = $transfer->tobranch; >+ $item_info->{nocancel} = 1; > } > > foreach my $f (qw( itemnotes )) { >-- >2.30.2
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 31663
:
141122
|
141132
| 141205