Skip to content

Fix problem with search result ordering

Stephan requested to merge github/fork/yngwi/searchbugfix into master

Created by: yngwi

When a charter to be included in the search result charter has more than one cei:date/cei:dateRange element, an error was thrown. This pull request changes the sorting code to only take the first cei:text//cei:issued/cei:date or cei:text//cei:issued/cei:dateRange element into account for sorting. Tested on the dev server.

Merge request reports

Loading