Fix indexing of entries with "event" in the name

pull/110/head
Thibaut 11 years ago
parent 1819d71ff7
commit 8335737641

@ -12,7 +12,7 @@ class app.models.Entry extends app.Model
@name
.toLowerCase()
.replace '...', ' '
.replace ' event', ''
.replace /\ event$/, ''
.replace SEPARATORS_REGEXP, '.'
.replace /\.+/g, '.'
.replace PARANTHESES_REGEXP, ''

Loading…
Cancel
Save