makes proposal tag filter case insensitive
This commit is contained in:
@@ -84,7 +84,7 @@ class ProposalsController < ApplicationController
|
|||||||
|
|
||||||
def parse_tag_filter
|
def parse_tag_filter
|
||||||
if params[:tag].present?
|
if params[:tag].present?
|
||||||
@tag_filter = params[:tag] if ActsAsTaggableOn::Tag.where(name: params[:tag]).exists?
|
@tag_filter = params[:tag] if ActsAsTaggableOn::Tag.named(params[:tag]).exists?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user