]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 21 Sep 2021 06:21:00 +0000 (20:21 -1000)
commite73eeb9e6ad5f0c59350c39cf1ba79c10e2e14e4
treef80d500611146e5e352edaa585db7a2e38cdb0ea
parentf218eb9b805523fdddeb7dfc0f0b750083f62b30
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>
opac/opac-suggestions.pl