This fixes search results when using Elasticsearch so that:
- When searching by relevance (the default) and a generic search (such as "*"), search results are returned with the highest record number first (previously, search results were returned with the lowest record number first)
- Editing a record and repeating a generic search doesn't change the sort order (previously editing a record would change the search results order).
Changing the sort order of results (such as by author (A-Z) or title) continue to work as expected.
|