[Koha-bugs] [Bug 9123] New: Authorities search ordered by authid does not work
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 21 11:03:33 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9123
Bug ID: 9123
Summary: Authorities search ordered by authid does not work
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Cataloging
Assignee: gmcharlt at gmail.com
Reporter: fridolyn.somers at biblibre.com
CC: m.de.rooy at rijksmuseum.nl
In C4::AuthoritiesMarc::SearchAuthorities :
Search can be sorted by authid ascending or descending.
This sort is integrated in PQF query with attribute 7.
The bug is that default sorting with attribute 7 is alphabetic. To use a
numerical sort, attribute 7 must be combined with attribute 4=109.
See http://www.indexdata.com/zebra/doc/querymodel-zebra.html (doc of attribute
7).
The sort by authid is use by Linker, but i provide a test plan on authorities
search page, it is more easy :
Test plan :
-----------
- perform an authority search sorted by "Heading A-Z", for example on "Paul".
- you get and URL ending with :
cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&marclist=mainentry&and_or=and&operator=contains&value=paul&orderby=HeadingAsc
- edit this URL to replace "HeadingAsc" by "AuthidAsc" or "AuthidDsc"
- refresh page
- you get a table of authorities
- look at "Details" of each line, it is a hyperlink ending with authid of
authority
Without patch, you get an odd order (order does not depend on authid length).
With patch, you get a correct numerical order.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list