Support numeric inputs for the category

This commit is contained in:
BrokenEagle
2020-03-06 08:10:28 +00:00
parent be0bb42ba9
commit a70433e78f
2 changed files with 12 additions and 1 deletions
+4
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