Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Eivin Giske Skaaren 37970eead1 Bug 14457: Integrate LIBRIS spellchecking
This patch makes it possible to configure LIBRIS spellchecker as a
"did you mean" feature. When searching for a word or phrase and misspelling
the query will be sent to LIBRIS and if they have a suggestion it will
be shown in the yellow did you mean box in the results page.

The API is not very quick so this type of implementation was chosen to not
disrupt the real-time feeling of the search.

To test:

1. Apply the patch.
2. Go to http://api.libris.kb.se/bibspell/, enter the koha servers IP and click
on the "Generera nyckel" button.
3. Under "Nyckel" you can copy the value that looks like this: E47B44829E265607274B677BC17B8D78,
and enter it into the LibrisKey syspref (cgi-bin/koha/admin/preferences.pl?tab=searching).
4. In cgi-bin/koha/admin/didyoumean.pl check the box for using the LIBRIS API. It is only implemented for OPAC.
5. Perform some searches:
tset - Did you mean should suggest: test
jeg är på smester - suggestion: jag är på semester
dantes inferna - suggestion: dantes inferno

Restored opac-search.pl

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Seems to work, of course I can't tell if it is giving me accurate
suggestions :)

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-16 13:17:33 +00:00
..
acquisitions.pref Bug 18736: Add OrderPriceRounding syspref 2019-03-21 16:27:09 +00:00
admin.pref
authorities.pref
cataloguing.pref Bug 21582: Use CodeMirror for *UserJS & *UserCSS 2019-04-12 02:28:17 +00:00
circulation.pref Bug 21582: Use CodeMirror for *UserJS & *UserCSS 2019-04-12 02:28:17 +00:00
enhanced_content.pref
i18n_l10n.pref
local_use.pref
logs.pref Bug 20750: Allow logging of arbitrary actions 2019-03-15 19:07:08 +00:00
opac.pref Bug 21582: Use CodeMirror for *UserJS & *UserCSS 2019-04-12 02:28:17 +00:00
patrons.pref Bug 22646: Fix use of PrivacyPolicyURL 2019-04-10 20:10:55 +00:00
searching.pref Bug 14457: Integrate LIBRIS spellchecking 2019-04-16 13:17:33 +00:00
serials.pref
staff_client.pref Bug 22695: Remove non-XSLT search results view from the staff client 2019-04-16 13:17:32 +00:00
tools.pref Bug 19722: Add MaxItemsToDisplayForBatchMod systempreference 2019-03-28 18:06:22 +00:00
web_services.pref Bug 22196: Clean up Mana KB administration template 2019-02-04 14:53:59 +00:00