https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19565
--- Comment #1 from David Gustafsson <[email protected]> --- Created attachment 68893 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68893&action=edit Bug 19565: Fix regular expression in _truncate_terms so field names are not split up The regular expression used for tokenizing search string does not allow for field names containing "." or "-". Fix regular expression to allow for field names containing "." or "-". Test plan: 1. Make sure Elasticsearch is used as default search engine. 2. Select "Search the catalog" in the staff client front page. 3. Search for Control-number.raw="<control number>" where <control number> is an existing control number. (The quotes around are value are needed to prevent Koha from appending "*" to control number). 4. The search should not yield any results. 5. Apply patch. 6. Search again using the same condition. 7. The biblio with the control number used in the search should appear as a match. 8. Search for Control-number="<control number>". 9. The biblio with the control number used in the search should appear as a match. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
