Bug 24561: (follow-up) Set default matching criteria to 'contains' and add configurat...
authorAgustin Moyano <agustinmoyano@theke.io>
Thu, 30 Apr 2020 14:20:05 +0000 (11:20 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 May 2020 10:39:26 +0000 (11:39 +0100)
commite0ab580538dc8cad53597d56cc873b1af0470603
tree26a45afce85e866bd42bd2f7b7eaf96d9cc88ec0
parent4b37a4e8d3f93404f796a4edbfacb8b7a737c0ae
Bug 24561: (follow-up) Set default matching criteria to 'contains' and add configuration option

This patch adds option.criteria as an option. Possible values are
'contains', 'starts_with', 'ends_with' and 'exact'. 'contains' is the
default value.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/datatables.js
koha-tmpl/opac-tmpl/bootstrap/js/datatables.js