Skip to content

Commit

Permalink
prev/next onl based on name
Browse files Browse the repository at this point in the history
  • Loading branch information
flopp committed Jan 6, 2025
1 parent c00494f commit 25c4a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ func findPrevNextEvents(events []*Event) {
break
}

if isSimilarName(event2.Name, event.Name) && event2.Location.Geo == event.Location.Geo {
if isSimilarName(event2.Name, event.Name) /*&& event2.Location.Geo == event.Location.Geo*/ {
prev = event2
}
}
Expand Down

0 comments on commit 25c4a20

Please sign in to comment.