[Koha] Fwd: UNIMARC installation - copydate/pubdate not working for date range and sort by

Pedro Amorim pjamorim91 at gmail.com
Tue Mar 22 23:45:00 NZDT 2016


Hello all,

Upon further investigation, I came to the conclusion that none of the
sorting was working (by title, by author, etc) and I found this information:

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

I found out that the sorting was actually working for a small number of
results (~100) but not for larger results (20k,50k).
As it's said, I added the 'sortmax' parameter and set it to 50000 in
zebra-biblios.cfg and reindexed zebra. However, the behaviour is still the
same and I doubt that the additional parameter is doing anything.

Anyone who's done this before or knows something about it?

Thanks,

Pedro Amorim

---------- Forwarded message ----------
From: Pedro Amorim <pjamorim91 at gmail.com>
Date: 2016-03-18 18:42 GMT-01:00
Subject: UNIMARC installation - copydate/pubdate not working for date range
and sort by
To: Koha list <koha at lists.katipo.co.nz>


Hello,

As the title says, I have Koha installed in UNIMARC and the date range and
sort by 'publication date' are not working, at all, as if Koha was using
some other field entirely.
This is what I'm suspecting, Koha is not using 210$d (Publication date) to
sort or limit results.

The file record.abs for *marc21* has the following line in it:
melm 260$c      copydate,copydate:s

However, the file record.abs for *unimarc* has:
melm 210$d    pubdate:n,pubdate:y
*and*
it does not have the word 'copydate' in it.

This is important because I have tested it in the online demo for UNIMARC
and this behaviour is present in every UNIMARC installation I know. And
every marc21 installation I've seen (including the demo) is working as
expected.

The 'sort by' works If an author (au) filter is also present for example,
but it doesn't work if I simply search for 'Books' sorted asc for example.


Has anyone noticed this? Or am I seeing things and it's some problem with
my installation?


More information about the Koha mailing list