[Koha-bugs] [Bug 22774] Limit purchase suggestion in a specified time period

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 17 16:57:26 CET 2020


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

--- Comment #18 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 100913
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100913&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>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list