Fix typo, it wasn't executing the filtering on tags
This commit is contained in:
parent
061225f56c
commit
fe1869199e
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue