This commit is contained in:
Toks
2013-06-19 11:24:10 -04:00
parent 233f4fe675
commit e7995d2768
4 changed files with 8 additions and 8 deletions

View File

@@ -54,11 +54,11 @@
url: "/tags.json",
data: {
"search[order]": "count",
"search[name_matches]": term + "*"
"search[name_matches]": term + "*",
"limit": 10
},
method: "get",
success: function(data) {
data = data.slice(0, 10);
resp($.map(data, function(tag) {
return {
label: tag.name.replace(/_/g, " "),