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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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