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

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

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.

Commits

Files