Koha/koha-tmpl/intranet-tmpl
Jonathan Druart a74f1dabe2
Bug 23847: Fix custom item search fields if subfield is '0'
The subfield is not used if is false, so if 0. We want to test if the
subfield is defined and not an empty string.

Test plan:
- Define a new custom item search fields using a subfield '0'
(withdrawn=952$0 for instance)
- Define one which does not have a subfield (control field)
- Search items using those newly created fields.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-11-08 12:55:39 +00:00
..
js Bug 18421: (follow-up) Center image in results table 2019-10-07 14:09:12 +01:00
lib Bug 22661: TinyMCE/WYSIWYG editor doesn't translate 2019-11-03 07:39:54 +00:00
prog Bug 23847: Fix custom item search fields if subfield is '0' 2019-11-08 12:55:39 +00:00