]> git.koha-community.org Git - koha.git/commit
Bug 35597: logaction when modifying or deleteing suggestions
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 21 Dec 2023 23:05:19 +0000 (23:05 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 13 Jun 2024 13:08:28 +0000 (14:08 +0100)
commit7e658ecbc07dfc7835158a2e079bf2bf4b46a530
tree786d0bb3d8334be3a0d39b297404a521ad7bd5c5
parent540ec4f6dc1816f835ca0e3cdb3cbc169d370f5c
Bug 35597: logaction when modifying or deleteing suggestions

To test:
1. Apply patch, restart services, updatedatabase
2. Search for the system preference 'SuggestionsLog', it should be off.
   Turn it on.
3. Create a purhase suggestion
4. Go to Tools > Log viewer. In modules check 'Suggestions'
5. You should see your newly created suggestion.
6. Modify the suggestion and check the logs again, the modification
   should be logged.
7. Delete the suggestion, the deletion should be logged.
8. Do a purchase suggestion via the OPAC.
9. Check the logs to see the newly created suggestion, the interface
   should be OPAC.
10. Turn of SuggestionsLog
11. No changes of any kind should be logged.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Ray Delahunty <lib-systems@arts.ac.uk>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Suggestions.pm
Koha/Suggestion.pm
installer/data/mysql/atomicupdate/bug_35597.pl [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/logs.pref
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt