Bug 8427 - Patron search results not consistent
Summary: Patron search results not consistent
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: 3.8
Hardware: All All
: P5 - low minor (vote)
Assignee: Kyle M Hall
QA Contact: Paul Poulain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-12 11:54 UTC by Kyle M Hall
Modified: 2013-12-05 20:05 UTC (History)
6 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 8427 - Patron search results not consistent (1.10 KB, patch)
2012-07-12 11:56 UTC, Kyle M Hall
Details | Diff | Splinter Review
Bug 8427 - Patron search results not consistent (1.06 KB, patch)
2012-07-12 12:28 UTC, Kyle M Hall
Details | Diff | Splinter Review
Bug 8427 - Patron search results not consistent (1.06 KB, patch)
2012-07-17 14:31 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle M Hall 2012-07-12 11:54:22 UTC
Using the patron search from mainpage.pl will give one search results that are ordered by surname, then firstname. This is totally logical.

However, the same search from members-home.pl ( or any page using patron-search.inc ) has the results sorted by surname only, with the firstname ordering being essentially random ( in reality, the firstname order is the order in which they were entered into the database ).

To me, it does not make sense that two default patron searches should give different sets of results.
Comment 1 Kyle M Hall 2012-07-12 11:56:25 UTC Comment hidden (obsolete)
Comment 2 Katrin Fischer 2012-07-12 12:21:23 UTC
I think default is not so nice for translations and also not very clear - maybe we could make it "full name" or "surname, firstname"?
Comment 3 Kyle M Hall 2012-07-12 12:28:50 UTC Comment hidden (obsolete)
Comment 4 Jonathan Druart 2012-07-17 14:31:06 UTC
Created attachment 10898 [details] [review]
Bug 8427 - Patron search results not consistent

Simple fix, removed the directive to order by surname, and the system
now orders by surname, then firstname.
Comment 5 Paul Poulain 2012-08-02 11:41:04 UTC
QA comment: tiny patch, passes QA
Comment 6 Paul Poulain 2012-08-02 11:41:45 UTC
Maybe saying it's a "normal" bug is a little bit too much. Lowering to "minor", but agreed it's a bug
Comment 7 Chris Cormack 2013-04-20 22:07:13 UTC
Released in 3.10.0