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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

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

David Bourgault <[hidden email]> changed:

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

--- Comment #34 from David Bourgault <[hidden email]> ---
Created attachment 69142
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69142&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 <[hidden email]>
Tested per plan, all tests pass.

Signed-off-by: Marc VĂ©ron <[hidden email]>

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/