Bug 10578: fix results sorting in staff interface
authorJanusz Kaczmarek <januszop@gmail.com>
Thu, 11 Jul 2013 17:07:09 +0000 (19:07 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 22 Jul 2013 15:52:09 +0000 (15:52 +0000)
commit0b05d1acb9e5402a85fc39987577a8686c07d27c
tree2b976f6a6f1cfb85e28ff3b6ea653dc771b0c6c1
parentb7305e4876e6d961e8325155d679b1312975e74d
Bug 10578: fix results sorting in staff interface

To test  (in librarian's interface):

1. Have some biblio records to get a list when searching.
2. Make an advanced search with 'as phrase' modifier (title -- ti,phr:
or author -- au,phr: , etc.)
3. Having the result list try to change the sort order.
4. You should get no results with a message like: "No results match your
search for 'au%2Cphr: " etc.
5. Apply the patch
6. Repeat steps 2. & 3.
7. You should get the list sorted according to your choice.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely, passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
catalogue/search.pl