[Koha-bugs] [Bug 27090] In the location column of an Opac basket the 'In transit from' and 'to' fields are empty
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Dec 27 18:36:48 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27090
--- Comment #4 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 114709
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114709&action=edit
Bug 27090: Opac basket: fix the 'In transit from' and 'to'
To see the 'In transit from' and 'to' fields in an Opac basket we have :
<span class="item-status intransit">In transit from [% Branches.GetName(
item.transfertfrom ) | html %]
to [% Branches.GetName( item.transfertto ) | html %] since [%
item.transfertwhen | $KohaDates %]</span>
But in koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc we have no :
[% USE Branches %]
This patch just corrects this lack
Test plan:
1° find an item in a transit status or create one with this status
2° put it in an Opac basket
3° note that in the location column of the Opac basket the 'In transit from'
and 'to' fields are empty.
4° apply the patch
5° check again and validate that the 2 fields are now filled
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list