]> 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)
committerWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Thu, 16 Sep 2021 02:03:57 +0000 (02:03 +0000)
commit4b8a5bde3355abb3355085ea16c64f4ab2982731
tree23ac8850847a70d056f168d6f1877dba5ba0c561
parent1b11033333cf4f541b5c1bce5f6a460afe24a7be
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>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
opac/opac-suggestions.pl