[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
Wed Feb 22 19:59:56 CET 2017


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

Mehdi Hamidi <mehdi.hamidi at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #50296|0                           |1
        is obsolete|                            |

--- Comment #28 from Mehdi Hamidi <mehdi.hamidi at inlibro.com> ---
Created attachment 60569
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60569&action=edit
Bug13287 - 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 Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list