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 Cormack <chrisc@catalyst.net.nz>
Wed, 13 Apr 2011 01:57:40 +0000 (13:57 +1200)
commit499c694daf408571cc8370b4c20568336ba35cde
tree9e26ee1d0863199aedbfb28b64a25ed4e7029b4f
parentce06b67f5e9ec1ca0de3bbf8e03dc5c0f0610fa8
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>
C4/Search.pm