Skip to content

Commit 8335737

Browse files
committed
Fix indexing of entries with "event" in the name
1 parent 1819d71 commit 8335737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/models/entry.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class app.models.Entry extends app.Model
1212
@name
1313
.toLowerCase()
1414
.replace '...', ' '
15-
.replace ' event', ''
15+
.replace /\ event$/, ''
1616
.replace SEPARATORS_REGEXP, '.'
1717
.replace /\.+/g, '.'
1818
.replace PARANTHESES_REGEXP, ''

0 commit comments

Comments
 (0)