This is a follow-up for bug 22550, we do not need to use the $raw filter.
Created attachment 88993 [details] [review] 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')
Created attachment 89325 [details] [review] 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>
Created attachment 89337 [details] [review] 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>
Awesome work all! Pushed to master for 19.05
Pushed to 18.11.x for 18.11.06