PR suggestions

This commit is contained in:
zandercymatics 2024-06-10 13:55:20 -06:00
parent 70fac1d719
commit 13d0b247fe
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 4 additions and 3 deletions

View file

@ -817,7 +817,8 @@ class DomainRequestExport:
# Annotations are custom columns returned to the queryset (AKA: computed in the DB).
annotations = cls._full_domain_request_annotations()
# .values can't go two levels deep (just returns the id) - so we have to include this.
# The .values returned from annotate_and_retrieve_fields can't go two levels deep
# (just returns the field id of say, "creator") - so we have to include this.
additional_values = [
"requested_domain__name",
"federal_agency__agency",