summaryrefslogtreecommitdiff
path: root/app/views/admin/participants/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/participants/show.html.haml')
-rw-r--r--app/views/admin/participants/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/participants/show.html.haml b/app/views/admin/participants/show.html.haml
index d2f8255..d230446 100644
--- a/app/views/admin/participants/show.html.haml
+++ b/app/views/admin/participants/show.html.haml
@@ -103,7 +103,7 @@
- if events_count < eventsm or events_count < 5
- events_first = Event.for_participant(@participant,-1).uniq
-else
- - events_first = Event.for_participant(@participant,-1).uniq.uniq.limit(eventsm/2)
+ - events_first = Event.for_participant(@participant,-1).uniq.limit(eventsm/2)
- events_last = Event.for_participant(@participant,-1).uniq.limit(eventsm/2).offset(events_count-(eventsm/2))
- events_diff = events_last - events_first
- unless events_first.blank?