fix: make sure sped is taken into account when caching analyze page

This commit is contained in:
rebuilt 2023-10-11 11:15:13 -07:00
parent fbcfdeaa72
commit bf3fa8765d
2 changed files with 16 additions and 1 deletions

View file

@ -187,5 +187,20 @@ module Analyze
income_params.split(",").map { |income| Income.find_by_slug(income) }.compact
end
end
def cache_objects
[subcategory,
selected_academic_years,
graph,
selected_races,
selected_grades,
grades,
selected_genders,
genders,
selected_ells,
ells,
selected_speds,
speds]
end
end
end