https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19563
--- Comment #1 from David Gustafsson <[email protected]> --- Created attachment 68889 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68889&action=edit Bug 19563: Generation of sort_fields uses incorrect condition Fix incorrect condition for if clause for generating <field>__sort mappings for Elasticsearch. Also remove redundant check for same condition when generating fixer rules. Test plan: 1. Inspect current mappings for example by viewing: http://<elasticsearch_host>:9200/koha_<koha_instance_name>_biblios/_mapping. 2. If using the default configuraion only "author" has a sort field (author__sort). 4. Appy patch. 5. Reindex using rebuild_elastic_search.pl. 6. All fields except those with sort sort set to "0" should now have sort fields, which in the default configuration is all but "author". -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ 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/
