From 2448258421fe1d86fc806489313786b4e6e27c75 Mon Sep 17 00:00:00 2001 From: Heiko Bernloehr Date: Tue, 21 Apr 2015 09:19:13 +0200 Subject: Fix default memberships filter. The default filter for /sys/memberships is now mainparticipants=true --- app/models/membership.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/membership.rb b/app/models/membership.rb index 00254f7..87742b9 100644 --- a/app/models/membership.rb +++ b/app/models/membership.rb @@ -82,7 +82,7 @@ class Membership < ActiveRecord::Base when filter[:anonymous] membership.community.participants.anonymous_participants_with_reduced_attributes else - membership.community.participants.without_anonymous_with_reduced_attributes + membership.community.participants.mainparticipants_with_reduced_attributes end end participants= participants_with_reduced_attribs.map do |p| -- cgit v1.2.3