]> 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:51 +0000 (17:26 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Apr 2011 17:26:51 +0000 (17:26 +0000)
commitd4cd5ee79958471ac0fed8b799626047bcbd023f
treebb5a8b0141ce3268b7109b35095b5c8539ba9186
parentc2acb58d397ed8664e03c5151a424dfe8c6dc712
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/branches/rel_2_1@19965 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/web/opac/skin/default/js/result_common.js