[koha-commits] main Koha release repository branch new/bug_8209 created. v3.08.00-732-g5a81850
Git repo owner
gitmaster at git.koha-community.org
Thu Sep 13 11:47:00 CEST 2012
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, new/bug_8209 has been created
at 5a81850fe402eb93c27ea249b9d65d67ec9b314d (commit)
- Log -----------------------------------------------------------------
commit 5a81850fe402eb93c27ea249b9d65d67ec9b314d
Author: Paul Poulain <paul.poulain at biblibre.com>
Date: Thu Sep 13 11:48:42 2012 +0200
Bug 8209 follow-up DBRev number
commit 8471158160b760f614be3b4f3c39297808b117d6
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date: Thu Jul 19 08:02:40 2012 -0400
Bug 8209: "Did you mean?" from authorities
One of the ideas behind authority records is that users who search for
one term should have related terms (according to the authority file)
suggested to them. At the moment, Koha doesn't do that. Adding an
authority searching step to regular searches and displaying any
suggestions in a "Did you mean" bar at the top of the results would be
very useful.
This commit adds a Koha::SuggestionEngine class which is in charge of
getting suggestions from individual suggestion engine plugins, which
much be in the Koha::SuggestionEngine::Plugin::* namespace, and extend
Koha::SuggestionEngine::Base. Suggestions are loaded asynchronously
using AJAX, and a link to a page with suggestions is provided for users
with Javascript turned off.
The AuthorityFile suggestion engine plugin looks up the specified search
terms in the authority file and then suggests searches for records using
matching authorities.
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Rebased 2 August 2012 and incorporated QA feedback
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Test plan:
- Verified database update added system preference correctly,
pref defaults to OFF
- Verified search results and detail pages in OPAC and staff
still worked the same as before
* for no results
* with results
- Activated system preference and tested various searches
* Searches from simple search
* Searches from advanced search
* Search links in records
- Deactivated Javascript - verified fallback works correctly
Notes:
- Suggested terms can include autorities with no linked records.
- When combining more than one search option using advanced search
this results in "no suggestions" more often. Feature works best
from simple search.
Overall great feature making use of authorities in a user friendly way!
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Rebased on latest master 2012-09-10
Signed-off-by: wajasu <matted-34813 at mypacks.net>
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list