]> git.koha-community.org Git - koha.git/commit
Bug 28941: Filter suggestion inputs at the OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 2 Sep 2021 09:51:48 +0000 (11:51 +0200)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Mon, 20 Sep 2021 13:50:49 +0000 (15:50 +0200)
commit515783e46ca0c60e9262de7478966bbdfbe3647b
tree5518a3366434147d33f0aedc35addcc8e37110fc
parentd747bc36b59e1ae60a1487372facca247f1d111c
Bug 28941: Filter suggestion inputs at the OPAC

The following sequence is bad:
46 my $suggestion      = $input->Vars;

181         &NewSuggestion($suggestion);

All columns can be set when we insert the suggestion into the DB
We definitely want to avoid the following fields to be set by the final
user: acceptedby, accepteddate, STATUS, etc...

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit ce5ee98511fd004587ef0b683b3bf2e2a143ad26)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
opac/opac-suggestions.pl