Skip to content

[6.x] Only process visible columns on the first users listing request - #15969

Merged
jasonvarga merged 3 commits into
statamic:6.xfrom
edalzell:fix/users-listing-initial-columns
Nov 19, 2026
Merged

jasonvarga merged 3 commits into
statamic:6.xfrom
edalzell:fix/users-listing-initial-columns

Conversation

@edalzell

@edalzell edalzell commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

The users listing (and the one on a user group page) didn't pass columns to Listing, so its first request had no columns param. The server then ran preProcessIndex for every listed column, hidden ones included, and the listing requested a second time once the response set the columns.

UsersController::index and UserGroupsController::show now pass the columns as a prop, like the entries listing does. In a browser, 6.x makes two listing requests on load and this makes one.

@edalzell
edalzell marked this pull request as ready for review November 19, 2026 02:47
@jasonvarga
jasonvarga merged commit e2e3a51 into statamic:6.x Nov 19, 2026
61 checks passed
@edalzell
edalzell deleted the fix/users-listing-initial-columns branch November 19, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants