wiki pages: add wildcard support to "other names" search.

This commit is contained in:
evazion
2017-05-23 20:59:48 -05:00
parent f93cd11fb5
commit 1a52f9db2b
4 changed files with 20 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ module Sources
tag
end
end
WikiPage.other_names_match(untranslated_tags).map{|wiki_page| [wiki_page.title, wiki_page.category_name]}
WikiPage.other_names_equal(untranslated_tags).map{|wiki_page| [wiki_page.title, wiki_page.category_name]}
end
def to_h