[Koha-bugs] [Bug 23991] Move SearchSuggestion to Koha::Suggestions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 24 16:21:46 CET 2022


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #129511|0                           |1
        is obsolete|                            |
 Attachment #129512|0                           |1
        is obsolete|                            |
 Attachment #129513|0                           |1
        is obsolete|                            |
 Attachment #129523|0                           |1
        is obsolete|                            |
 Attachment #130049|0                           |1
        is obsolete|                            |
 Attachment #131896|0                           |1
        is obsolete|                            |
 Attachment #132026|0                           |1
        is obsolete|                            |

--- Comment #42 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 132169
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132169&action=edit
Bug 23991: Move SearchSuggestion to Koha::Suggestions

The C4::Suggestions::SearchSuggestion subroutine is badly written and
can be replaced by calls to Koha::Suggestions->search.
The hard part in this patch is suggestion.pl, the other occurrences have
been replaced easily.

Test plan:
The idea is to test the whole suggestion workflow.
1. Create a suggestion on OPAC
2. Create a suggestion on the staff interface
3. Edit suggestions
4. Filter suggestions (use the different filters and "organize by"
values)

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list