Support numeric inputs for the category

This commit is contained in:
BrokenEagle
2020-03-06 07:27:00 +00:00
parent be0bb42ba9
commit a70433e78f
2 changed files with 12 additions and 1 deletions

View File

@@ -71,6 +71,10 @@ class TagCategory
def short_name_regex
@@short_name_regex ||= short_name_list.join("|")
end
def category_ids_regex
@@category_ids_regex ||= "[#{category_ids.join("")}]"
end
end
extend Mappings