https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36902

Magnus Enger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Magnus Enger <[email protected]> ---
Sorry if this is not relevant here. 

We are seeing searches ordered by publication date, where the first few records
are sorted as expected, and then the rest seem to be in random order. When we
check the "Elasticsearch record" for records that fall in the "random"
category, the data for date-of-publication often looks something like this: 

"date-of-publication": [
                                "    ",
                                "2019"
                        ],

My hunch is that the first, blank string is from 008, and the second string is
from 260c. And that only the first string is indexed, so records with a blank
year in 008 are returned at the end of the list, in seemingly random order. 

Would it be possible to skip the first string here, if it is only four blank
spaces, and consider the second string for indexing, if there is a second
string?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to