Closed heidimok closed 7 months ago
Oh, reading the postgresql DISTINCT docs further:
Obviously, two rows are considered distinct if they differ in at least one column value. Null values are considered equal in this comparison.
So I guess we just need to update this query to not use DISTINCT.
Problem
It appears like we are only showing one deployment per campaign at times. We have some weird filtering in order to try to retrieve only the latest draft of each deployment. But it's filtering out anything with duplicate
model_instance_uuid
values. The problem is a Change object doesn't get amodel_instance_uuid
value until it's published, so we will only display a single unpublished deployment.Additional Information