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

--- Comment #235 from Katrin Fischer <[email protected]> ---
Created attachment 202845
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202845&action=edit
Bug 31391: (QA follow-up) Fix Recall button visibility in holdings table

Fixes a problem with the template variables that made the recall button
show in some places when UseRecalls was set to off.

Part 1: opac-detail.tt / opac-basket.tt (default config, useRecalls = 'off')
1) Confirm UseRecalls is at its default (off)
2) Check out item 39999000003154 to patron 'Henry Acevedo'
3) Log into the OPAC as a different patron (e.g. koha user)
4) As koha user, go to the biblio detail page for the record we just checked
out:
http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=76
5) Look at the item's status row: next to "Checked out", a "Recall" button is
visible, even though UseRecalls is off.
6) Click it, lands on opac-recall.pl, shows a "Recalls have not been enabled.
Please contact your library.", which confirms it's a dead-end button that never
should have rendered.
7) Same thing reproduces in the basket: as koha user, add that biblio to your
cart (Add to cart on the results/detail page), then click the cart icon on the
top left. The same button erroneous will show.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to