[Koha-bugs] [Bug 13287] Add a system preference to define the number of days used in purge_suggestions.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 23 11:44:50 CET 2018


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

--- Comment #38 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 72105
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72105&action=edit
Bug 13287: Add a system preference to define the number of days used in
purge_suggestions.pl

The system preferences value is used whenever purge_suggestions.pl is called
without the 'days' parameter.
    This patch uses the preference description suggested by comment #9.
    This version should now be cleanly applicable.

    I Apply the patch
    II Run updatedatabase.pl

    a) Run purge_suggestions.pl without the days parameter
       - validate that there is an error message
    b) Run purge_suggestions.pl with the days parameter
       - validate that there is no error message
    c) Insert a number of days in the system variable PurgeSuggestionsOlderThan
    d) Run purge_suggestions.pl without the days parameter
       - validate that there is no error message

Signed-off-by: Liz Rea <liz at catalyst.net.nz>
Tested per plan, all tests pass.

Signed-off-by: Marc Veron <veron at veron.ch>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list