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)
|
a << object if (value.include?(object.category.id.to_s) rescue nil)
|
||||||
end
|
end
|
||||||
objects = a.uniq
|
objects = a.uniq
|
||||||
when 'tag'
|
when 'tags'
|
||||||
a = Array.new
|
a = Array.new
|
||||||
objects.each do |object|
|
objects.each do |object|
|
||||||
object.tags.each do |tag|
|
object.tags.each do |tag|
|
||||||
|
|
Reference in New Issue