https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38198 --- Comment #1 from Jake Deery <jake.deery@openfifth.co.uk> --- Created attachment 200586 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200586&action=edit Bug 38198: Add suggestion to BlockExpiredPatronOpacActions syspref This patch adds "suggestion" as an option to BlockExpiredPatronOpacActions, and links that up to the purchase suggestion form. If the syspref is set, and a patron is expired, they will not be able to make a purchase suggestion. == TO TEST == a) create a borrower with no permissions, and an expired card b) log into opac with borrower created in step a c) goto /cgi-bin/koha/opac-suggestions.pl *) note how new purchase suggestion button is visible and works as expected == APPLY PATCH == d) repeat steps b-c *) note how you are greeted with a message *) "Your card has expired, so you are unable to place purchase suggestions" e) goto /cgi-bin/koha/opac-suggestions.pl?op=add_form *) notice how the form is unavailable, and a message displays *) "Your card has expired, so you are unable to place purchase suggestions" == SIGN OFF == -- You are receiving this mail because: You are watching all bug changes.