Bug 22752: Show if a placed hold is a record or item level in the patron account in the OPAC

Test Plan
1. Have a record with an item
2. You will need to set a hold through staff account (to import books
        Cataloging>New from Z39.50/SRU>
3. Keyword(enter any keyword e.g pokemon)
4. tick library of congress
5. choose a title and click actions then import
6. 003 should be OSt
7. tab 9 koha item type can be books or whatever and press save
8. select the hold and place hold
9. on Koha OPAC click on your account and go to the holds and
underneath the title it should say Only item and the barcode

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Victoria Faafia 2021-01-19 03:45:28 +00:00 committed by Jonathan Druart
parent 9e52f554f4
commit d16215ba07

View file

@ -58,6 +58,11 @@
</strong>
[% END %]
[% HOLD.biblio.author | html %]
[% IF HOLD.item_level_hold %]
Only item [% HOLD.item.barcode %]
[% ELSE %]
Next available item
[% END %]
</td>
<td class="reservedate">
<span title="[% HOLD.reservedate | html %]">