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

--- Comment #90 from Jonathan Druart <jonathan.dru...@gmail.com> ---
If I comment, in t/db_dependent/selenium/opac_holds.t:

reset_data() that is after
  detail_page_hold_button_absent('Authenticated - onshelfholds If all
unavailable');

Then cleanup_data();, I can see the problem on the UI

It seems that opac/opac-detail.pl
 701         $can_holds_be_placed =
 702             $can_holds_be_placed || $patron &&
IsAvailableForItemLevelRequest( $item, $patron, undef );

This is 1 when it should be 0.

IF I go to admin/smart-rules.pl, edit and save (ie. set default to circ rules),
the test will pass!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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