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

PTFS Europe Sandboxes <[email protected]> changed:

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

--- Comment #8 from PTFS Europe Sandboxes <[email protected]> ---
Created attachment 120674
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120674&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".

Also this patch removes "filter_by_for_loan" method.

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"

Signed-off-by: Owen Leonard <[email protected]>

Signed-off-by: Sally <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to