[koha-commits] main Koha release repository branch master updated. v3.14.00-118-g54937c5
Git repo owner
gitmaster at git.koha-community.org
Fri Dec 13 20:27:20 CET 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 54937c5eb34c511e00de8d0831141516422885c7 (commit)
from 97b270aa2e08089bfa888c191d32d0a9af075ffe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 54937c5eb34c511e00de8d0831141516422885c7
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date: Fri Nov 15 11:10:04 2013 +0100
Bug 11255: allow "relevance ascending" as a sort option
This patch fixes a problem where if a staff member sets the
*defaultSortField/*defaultSortOrder system preferences to relevance
ascending while QueryParser is enabled, default keyword search
would break -- the query parser config did not declare relevance asc
as a possible "modifier".
Note that setting the sort order to relevance ascending does not
actually make catalog search return results with the least relevant
records showing up first; Zebra does not support such a mode. In other
words, relevance ascending acts exactly the same as relevance descending.
Test plan:
0/ Create some biblio with "history" in the title and
ensure that the QueryParser system preference is enabled.
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>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
-----------------------------------------------------------------------
Summary of changes:
etc/searchengine/queryparser.yaml | 6 ++++++
1 file changed, 6 insertions(+)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list