Fix typo, it wasn't executing the filtering on tags
This commit is contained in:
1 parent
061225f56c
commit
fe1869199e
1 file changed
+1
-1
@@ -321,7 +321,7 @@ class ApplicationController < ActionController::Base
|
||||
a << object if (value.include?(object.category.id.to_s) rescue nil)
|
||||
end
|
||||
objects = a.uniq
|
||||
when 'tag'
|
||||
when 'tags'
|
||||
a = Array.new
|
||||
objects.each do |object|
|
||||
object.tags.each do |tag|
|
||||
|
||||
Reference in new issue
Block a user