[Koha-bugs] [Bug 28286] Place hold button not displayed when biblio has only Ordered items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 6 14:42:16 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28286

Peter Vashchuk <stalkernoid at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #120521|0                           |1
        is obsolete|                            |

--- Comment #2 from Peter Vashchuk <stalkernoid at gmail.com> ---
Created attachment 120618
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120618&action=edit
Bug 28286: show "Place hold" button if item is holdable

This patch adds "filter_by_for_hold" method in "Items.pm" and
uses it in "cat-toolbar.inc" instead of "filter_by_for_load".

To reproduce the bug:
1) go to /cgi-bin/koha/catalogue/detail.pl?biblionumber=XXX     that has
item with notforloan value set as "Ordered" (-1)
2) see that button "Place hold" is not present
3) apply the patch
4) refresh the page and ensure that "Place hold" button appears even if
item is "Ordered"

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list