app/models/tramway/event/participant.rb in tramway-event-1.9.9.2 vs app/models/tramway/event/participant.rb in tramway-event-1.9.10
- old
+ new
@@ -40,6 +40,8 @@
scope :prev_approved, -> { where participation_state: :prev_approved }
scope :rejected, -> { where participation_state: :rejected }
scope :approved, -> { where participation_state: :approved }
scope :without_answer, -> { where participation_state: :without_answer }
scope :reserved, -> { where participation_state: :reserved }
+
+ pg_search_scope :search, against: [:values]
end