Skip to content

Commit

Permalink
To str
Browse files Browse the repository at this point in the history
  • Loading branch information
haneslinger committed Apr 25, 2024
1 parent 6fd2055 commit a11b415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seed/views/v3/organizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ def get_raw_report_data(self, organization_id, access_level_instance, cycles, x_
# get data for each cycle
results = []
for cycle in cycles:
property_views = all_property_views.annotate(yr_e=Value(cycle.end.year)).filter(cycle_id=cycle)
property_views = all_property_views.annotate(yr_e=Value(str(cycle.end.year))).filter(cycle_id=cycle)
data = [apply_display_unit_preferences(organization, d) for d in property_views.values("id", *fields.keys(), "yr_e")]

# count before and after we prune the empty ones
Expand Down

0 comments on commit a11b415

Please sign in to comment.