]> git.koha-community.org Git - koha.git/commit
Bug 22800: (bug 22550 follow-up) Do not raw filter when not necessary (OPAC suggestions)
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 29 Apr 2019 02:09:39 +0000 (22:09 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 7 May 2019 11:30:29 +0000 (11:30 +0000)
commitb9bff787ca863a45128cbd3a05a109e8f66d4fdf
tree30966d230e64f68eaec511b2e33ef66fd0a2299f
parent100b1e3eecb4de27f6a85095196019f6b36251c0
Bug 22800: (bug 22550 follow-up) Do not raw filter when not necessary (OPAC suggestions)

This is a follow-up for bug 22550, we do not need to use the $raw
filter.

Test plan:
Same as bug 22550:
Test plan:
Test plan:
1. OPAC->login->your purchase suggestions->New purchase suggestion
2. Click button "Submit your suggestion" directly without filling in any field.
   Empty suggestion record was added succeffully.
3. Apply the patch.
4. Click button "Submit your suggestion" directly without filling in any field.
   The required fields should be labeled in red.
   (you can change the mandatory fields by preference
   'OPACSuggestionMandatoryFields')

Signed-off-by: Bin Wen <bin.wen@inlibro.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt
opac/opac-suggestions.pl