[Koha] Sorting search results - Zebra

Katrin katrin.fischer.83 at web.de
Mon Jul 10 09:56:03 NZST 2017


Hi Sally and others,

I'd also be interested in the answer to this question - it seems it's 
not always the same in our installations and I was wondering where in 
the code this happens and how it could be changed.

Katrin


On 05.07.2017 15:41, HEALEY, Sally wrote:
> Hi,
>
> We are using Koha 16.11, and Zebra.
>
> We have individual records for different item types - e.g. hardback, paperback, DVD, large print, audiobook etc.  A search will return many records with equal ranking, which is correct, as they are all the same title.
>
> When records are ranked equally, they are then sorted by bibilonumber in descending order, with the highest biblionumber (newest) displaying in the results first.  For example:
>
> Result	Title	Type	Copies	Rank	Biblionumber
> 1	ABC	DVD	4	90%	44567
> 2	ABC	LP	2	90%	34689
> 3	ABC	PBK	63	90%	23456
> 4	ABC	HBK	80	90%	12345
> 5	CDE	DVD	11	64%	44235
> 6	CDE	HBK	43	64%	22132
>
> We would like equally ranked records to be sorted by biblionumber ascending, so the oldest items are shown first.  This means our hardback/paperbacks would sit at the top of the search results, as these are purchased before multimedia and large print.
>
> Result	Title	Type	Copies	Rank	Biblionumber
> 1	ABC	HBK	80	90%	12345
> 2	ABC	PBK	63	90%	23456
> 3	ABC	LP	2	90%	34689
> 4	ABC	DVD	4	90%	44567
> 5	CDE	HBK	43	64%	22132
> 6	CDE	DVD	11	64%	44235
>
> Does anyone know if it's possible to achieve this, and how to do so?
>
> Many thanks,
>
> Sally
> ************************************************************************
> Disclaimer:
>
> If you are not the intended recipient of this email (and any attachment), please inform the sender by return email and destroy all copies. Unauthorised access, use, disclosure, storage or copying is not permitted.
> The views expressed by the author do not necessarily reflect the views or policies of Cheshire West and Chester Borough Council. The Council cannot guarantee that this message or any attachment is virus free or has not been intercepted and amended. You should perform your own virus checks.
> Cheshire West and Chester Borough Council may monitor emails and as a public sector organisation; the Council may disclose this email (or any response to it) under the Freedom of Information Act 2000.
> Contracts cannot be concluded with the Council nor service effected by email, unless otherwise expressly agreed. The contents of this e-mail may be subject to privilege.
> ************************************************************************
>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list