]> git.openstreetmap.org Git - rails.git/commit
Limit the number of users counted for users#index
authorTom Hughes <tom@compton.nu>
Tue, 10 Sep 2024 17:50:38 +0000 (18:50 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 11 Sep 2024 17:28:35 +0000 (18:28 +0100)
commite22d19f004ee5c2db473717cc5bd57059a6203f5
tree75e2a64769bd12582ca3982d8a51519c86f24d3e
parent17bea98e199f204b22847356fc64beaa81a9373a
Limit the number of users counted for users#index

This view uses cursor based pagination but then undermines
that by counting the total number of users so limit the effect
of that but counting a maximum of ten pages of users.
app/controllers/users_controller.rb