[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
Mon Apr 3 19:31:12 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33236
ByWater Sandboxes <bws.sandboxes at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #148221|0 |1
is obsolete| |
--- Comment #2 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 149103
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149103&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
Signed-off-by: Andrew Auld <andrew.auld at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list