autocomplete: add automatic typo correction.
If normal autocomplete fails to find any results, try doing a fuzzy name search instead. This will correct simple typos.
This commit is contained in:
@@ -244,7 +244,7 @@
|
||||
$.ajax({
|
||||
url: "/tags/autocomplete.json",
|
||||
data: {
|
||||
"search[name_matches]": term + "*"
|
||||
"search[name_matches]": term
|
||||
},
|
||||
method: "get",
|
||||
success: function(data) {
|
||||
|
||||
Reference in New Issue
Block a user