[Koha-bugs] [Bug 22774] Limit number of purchase suggestions per patron in a specified time period
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 13 20:33:11 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22774
--- Comment #26 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 102883
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102883&action=edit
Bug 22774: Limit Purchase Suggestion in a specified Time period
Test plan:
1 - Apply this patch
2 - Run updatedatabase.pl
3 - By default the preferences are blank and do not limit.
4 - Set the limits to 3 in 30 days
5 - Go to purchase suggestion page from OPAC as a logged in patron
6 - Place 3 suggestions and confirm you cannot place any more
7 - Alter one of the suggestions to have been made more than 30 days ago
UPDATE suggestions SET suggesteddate = '2020-01-01' WHERE suggestionid=3;
8 - Confirm you can place another suggestion
9 - Log out of OPAC
10 - Make sure AnonSyggestions is set to 'Allow' and AnonymousPatron is set
11 - Confirm anonymous suggestions are not limited by the syspref
12 - Confirm that a blank value in either MaxTotalSuggestions or
NumberOfSuggestionDays does not limit suggestions
Signed-off-by: Kelly McElligott <kelly at bywatersolutions.com>
Signed-off-by: Rhonda Kuiper <rkuiper at roundrocktexas.gov>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list