[Koha-bugs] [Bug 8657] Default sort by call number does not work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 20 23:00:38 CEST 2012


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

Liz Rea <wizzyrea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11704|0                           |1
        is obsolete|                            |

--- Comment #2 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 11716
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11716&action=edit
Bug 8657 - Default sort by call number does not work

If you choose to sort search results in the OPAC or staff
client by call number by default, the wrong value will
be saved by the system preferences editor. It should be
"call_number" instead of "callnumber." This patch
corrects the pref file and updates the database in cases
where defaultSortField or OPACdefaultSortField are
set to the incorrect value for call number sort.

To test: Set defaultSortField and/or OPACdefaultSortField
to "call number" and perform a search. Results will be
sorted by relevance. Apply the patch, update the database,
and search again. Results should now be sorted by call number.

Signed-off-by: Liz Rea <wizzyrea at gmail.com>
with the caveat that this will not fix the issue unless the sort order is first
set to descending and back to ascending per bug 8012.

However, with the sort order set to a proper sort value, this patch does fix
the issue.

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


More information about the Koha-bugs mailing list