Bug 34963: Restore the ability to blank fields when editing a suggestion
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 17 Apr 2024 09:48:16 +0000 (11:48 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 19 Apr 2024 16:06:36 +0000 (18:06 +0200)
commitcd1f4145fe091314895a4f8a4f73a5b3a5f8bb87
treefc857f7ce2bf1e488b2e3acea9f4aaa0d0c24bc9
parent6f705dfb1fe49d65cea09a76cef212ff5205671b
Bug 34963: Restore the ability to blank fields when editing a suggestion

Regression introduced by bug 23991.
We don't want to remove the fields from the edition if they are empty.

Ideally we should have separate parameters for edition and search, but
this is the low-effort fix, and hopefully won't introduce side-effects.

Test plan:
Try to edit a suggestion and blank some fields
Try to search for suggestions using the search form on the left of the
screen

Signed-off-by: Ray Delahunty <lib-systems@arts.ac.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
suggestion/suggestion.pl