]> git.koha-community.org Git - koha.git/commit
Bug 6154: Default sorting by title doesn't work
authorJared Camins-Esakov <jcamins@bywatersolutions.com>
Sun, 10 Apr 2011 21:28:05 +0000 (17:28 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Sat, 16 Apr 2011 19:15:28 +0000 (15:15 -0400)
commit87ab53814adfe9ed57d8efe92778134ebdf45285
tree78060f972760b8a6e1ef454a9114cc4ec8ac0502
parentb4135cc461c165314f78269b62ab1358fd5c6b38
Bug 6154: Default sorting by title doesn't work

If you have the default sorting set to title ascending or title descending,
your search results will not automatically be sorted because the syspref uses
title_asc and title_dsc, whereas Search.pm wants title_az and title_za. The same
issue is present when the default sort is on author.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 499c694daf408571cc8370b4c20568336ba35cde)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Search.pm