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)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 4 Apr 2011 20:23:59 +0000 (16:23 -0400)
commit07e1be8d265a5ff7774d751a07241036efc638db
tree39a4d52e6b7468512da9ed6faee3ffd433b9ffe8
parent8ed88b6cad3c62ba3f4549125c80c527aae82bbf
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