Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

YC-1192 #989

Merged
merged 1 commit into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion geocity/apps/submissions/tables.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import collections
import json
from collections import OrderedDict
from datetime import datetime, timedelta
from io import BytesIO as IO

Expand Down Expand Up @@ -510,7 +511,7 @@ def create_export(self, export_format):
# Handle null selected_forms (due to old bug YC-1093)
if list_selected_forms:
sheet_name = "_".join(map(str, list_selected_forms))
ordered_dict = SubmissionPrintSerializer(submission).data
ordered_dict = OrderedDict(SubmissionPrintSerializer(submission).data)
ordered_dict.move_to_end("geometry")
data_dict = dict(ordered_dict)
data_str = json.dumps(data_dict)
Expand Down
Loading