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

            Bug ID: 40044
           Summary: purge_suggestions.pl deletes ongoing suggestions
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

The cronjob purge_suggestions.pl deletes all suggestions that are older than
the parameter (--days or syspref PurgeSuggestionsOlderThan) and that are in any
other status than 'ASKED' (due to the use of function
C4::Suggestions::DelSuggestionsOlderThan). 

This can lead to delete suggestions on an ongoing order (status ORDERED) or
suggestions that have been accepted but not ordered yet (status ACCEPTED).

We should limit (or add an option to limit) this script to REJECTED or
AVAILABLE suggestions, as these are suggestions at the end of the process.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to