Skip to content

Commit

Permalink
remove unused filtered? method
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSim committed Oct 15, 2024
1 parent d31138e commit 0667184
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/models/export.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ def since
time_span_type == Export.time_span_types.fetch(:monthly) ? 30.days.ago : nil
end

def filtered?
filtered_columns.present?
end

def self.find_or_create_fresh_export(format, groupe_instructeurs, user_profile, time_span_type: time_span_types.fetch(:everything), statut: statuts.fetch(:tous), procedure_presentation: nil, export_template: nil)
filtered_columns = Array.wrap(procedure_presentation&.filters_for(statut))
sorted_column = procedure_presentation&.sorted_column
Expand Down

0 comments on commit 0667184

Please sign in to comment.