The dot "." in any organisation name is replaced with a dash "-" when searching for tagged events
This commit is contained in:
parent
621fcdbb2c
commit
e446007d66
@ -73,7 +73,7 @@ class Orga < ApplicationRecord
|
||||
end
|
||||
|
||||
def name_as_tag
|
||||
name.gsub(/\AL'/, '').gsub(/[\s\*']/, '-').delete ':'
|
||||
name.gsub(/\AL'/, '').gsub(/[\s\*'\.]/, '-').delete ':'
|
||||
end
|
||||
|
||||
def as_json(_options = {})
|
||||
|
Loading…
Reference in New Issue
Block a user