Fix the order in which we apply the datagrid queryset data augmentation.

Review Request #13421 — Created Nov. 16, 2023 and submitted

Information

Djblets
release-3.x

Reviewers

The new support for queryset augmentation for data display purposes
didn't work quite right. It applied to the initial query, but we'd then
end up generating a new query based on the IDs returned from that query.
That new query was augmented the old-fashioned way, but not the new way.

This change fixes that up so that we properly augment the final
data-fetching queryset.

Unit tests pass.

Tested this with some in-progress datagrid fixes in Review Board.

Summary ID
Fix the order in which we apply the datagrid queryset data augmentation.
The new support for queryset augmentation for data display purposes didn't work quite right. It applied to the initial query, but we'd then end up generating a new query based on the IDs returned from that query. That new query was augmented the old-fashioned way, but not the new way. This change fixes that up so that we properly augment the final data-fetching queryset.
fd48da44cb7f20633432effbf95df42ac7a78875
david
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (a035bf0)