Bugzilla – Attachment 141122 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.29 KB, created by
Nick Clemens (kidclamp)
on 2022-09-30 11:33:36 UTC
(
hide
)
Description:
Bug 31663: Item transfers are not correctly displayed on item details page
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-09-30 11:33:36 UTC
Size:
1.29 KB
patch
obsolete
>From 44ab90e5635b32c6a225a25e5d5634fbf2d2c89d 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 >--- > 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