Bug 30885: Display recall data correctly
This page does not pull the recall columns correctly. To test: 1) Enable the UseRecalls system preference and set up your recalls-related circulation rules. 2) Check out an item to Patron B. 3) Log into the OPAC as Patron A and search for the item. 4) Place an item-level recall on that item. 5) Go back to the staff interface and search for the item. Confirm that when you go to the record detail page, it explodes and errors are shown. 6) Apply patch and refresh page. 7) Confirm page loads as expected. 8) Check the Status information for the item in the Holdings table. Confirm it shows the recall information correctly. 9) Check in the item and confirm the recall as waiting for Patron A. 10) Go back to the record detail page and confirm the Status information for the item shows as Waiting in the Holdings table. Sponsored-by: Catalyst IT Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
12464241eb
commit
3b1ee10ee5
1 changed files with 3 additions and 3 deletions
|
@ -515,10 +515,10 @@ Note that permanent location is a code, and location may be an authval.
|
|||
[% END %]
|
||||
|
||||
[% IF item.recalled %]
|
||||
[% IF item.recall.waitingdate %]
|
||||
Waiting at [% Branches.GetName( item.recall.branchcode ) | html %] since [% item.recall.waitingdate | $KohaDates %]
|
||||
[% IF item.recall.waiting_date %]
|
||||
Waiting at [% Branches.GetName( item.recall.pickup_library_id ) | html %] since [% item.recall.waiting_date | $KohaDates %]
|
||||
[% ELSE %]
|
||||
Item recalled by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.recall.borrowernumber | uri %]">[% item.recall.patron.firstname | html %] [% item.recall.patron.surname | html %] ([% item.recall.patron.cardnumber | html %])</a> on [% item.recall.recalldate | $KohaDates %]
|
||||
Item recalled by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.recall.patron_id | uri %]">[% item.recall.patron.firstname | html %] [% item.recall.patron.surname | html %] ([% item.recall.patron.cardnumber | html %])</a> on [% item.recall.created_date | $KohaDates %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
|
|
Loading…
Reference in a new issue