[Koha-bugs] [Bug 11255] sort by relevance asc generates a wrong query

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 11 00:38:20 CET 2013


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

--- Comment #10 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 23385
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23385&action=edit
Bug 11255: allow sorting by relevance asc

The query parser config does not declare relevance asc as possible
"modifier".

Test plan:
0/ create some biblio with "history" in the title
1/ define prefs defaultSortField = relevance and defaultSortOrder = asc
2/ search "history" on the staff interface
3/ note that no result is returned.
4/ apply the patch
5/ verify the queryparser config file in use takes the modification into
account (see the queryparser_config value in your $KOHA_CONF file).
6/ relaunch the search and verify results are returned

Signed-off-by: Christopher Brannon <cbrannon at cdalibrary.org>

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


More information about the Koha-bugs mailing list