[Koha-bugs] [Bug 33236] Move C4::Suggestions::NewSuggestion to Koha namespace

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 15 16:29:12 CET 2023


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 148221
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148221&action=edit
Bug 33236: Move NewSuggestion to Koha::Suggestion->store

The NewSuggestion routine saved the suggestion to the DB
and returned the id

This patch moves the code to Koha::Suggestion->store and
handles emailing upon creation, this adds that functionality to
suggestions added via api

To test:
1 - Apply patch
2 - Test adding a suggestion on the opac and staff client
3 - Confirm the suggestions are added correctly

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


More information about the Koha-bugs mailing list