autocomplete: fix broken wiki page autocomplete.

Fix breakage from 34368272e.
This commit is contained in:
evazion
2020-01-21 18:44:02 -06:00
parent 20b2c28126
commit 0a3d038df9

View File

@@ -340,7 +340,7 @@ Autocomplete.artist_source = async function(term) {
Autocomplete.wiki_source = async function(term) {
let wiki_pages = await $.getJSON("/wiki_pages", {
"search[title]": term + "*",
"search[title_normalize]": term + "*",
"search[hide_deleted]": "Yes",
"search[order]": "post_count",
"limit": Autocomplete.MAX_RESULTS,