]> git.evergreen-ils.org Git - Evergreen.git/commit
tweak to default suggestion for low-hits search
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Apr 2011 17:26:31 +0000 (17:26 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Apr 2011 17:26:31 +0000 (17:26 +0000)
commit9c32ccc78b853beced2f6971d2357c6175100144
tree5392ebdf54ebd087f8a78ebdbf23c51eeb202fcd
parent2c24c04ed3efc94ffd7bc0e5ab588b7def4a4dea
tweak to default suggestion for low-hits search

Rather than show a suggestion for every word in the
original search phrase, only display suggestions
for words not found in the dictionary.  For example,
rather than having a search for "Amesh paradise" return
a suggestion of "Amish paraders", return "Amish paradise"
as the suggestion (assuming the default dictionaries are used).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@19964 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/web/opac/skin/default/js/result_common.js