[Koha-bugs] [Bug 11923] Marc record batches not sorting by citation descending

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 11 15:35:57 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11923

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 26111
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26111&action=edit
Bug 11923 - Marc record batches not sorting by citation descending

When the ability to stage authority records was added to Koha, sorting
record batches by citation ( i.e. title ) caused the addition of
"authorized_heading" to be added to the sort. When sorting by title
descending, this causes the order by clause to be "title,
authorized_heading DESC" which means sort by title ASC, then
authorized_heading DESC. This is incorrect and causes regular biblio
batches to always be sorted ascending.

Test plan:
1) Stage a batch of biblio records from a file
2) View the staged batch
3) Attempt to sort by title descending
4) Note it is still sorted by title ascending
5) Apply this patch
6) Note the sorting now works correctly

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list