]> git.koha-community.org Git - koha.git/commit
Bug 35597: Log creation on suggestion from staff or OPAC
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 17 May 2024 12:12:57 +0000 (08:12 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 13 Jun 2024 13:08:33 +0000 (14:08 +0100)
commit22dd2e89485a6a454e41ad13cec3f9245899219e
treefe75fa517900753c7cc86259f4b7a16a998255b1
parent7e658ecbc07dfc7835158a2e079bf2bf4b46a530
Bug 35597: Log creation on suggestion from staff or OPAC

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. Create a suggestion from the OPAC.
7. You should see your newly created OPAC suggestion.
8. Modify the suggestion and check the logs again, the modification
   should be logged.
9. Delete the suggestion, the deletion should be logged.
10. Do a purchase suggestion via the OPAC.
11  Check the logs to see the newly created suggestion, the interface
    should be OPAC.
12. Turn off SuggestionsLog
13. 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>
Koha/Suggestion.pm