[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
Fri Dec 13 20:19:25 CET 2013


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #12 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 23539
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23539&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>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list