decidim-meetings/app/services/decidim/meetings/meeting_search.rb in decidim-0.0.5 vs decidim-meetings/app/services/decidim/meetings/meeting_search.rb in decidim-0.0.6
- old
+ new
@@ -27,14 +27,9 @@
elsif options[:date] == "past"
query.where("start_time <= ? ", Time.current).order("start_time DESC")
end
end
- # Handle the scope_id filter
- def search_scope_id
- query.where(decidim_scope_id: scope_id)
- end
-
private
# Internal: builds the needed query to search for a text in the organization's
# available locales. Note that it is intended to be used as follows:
#