• Heinrich Lee Yu's avatar
    Improve pagination of users in admin panel · 1bd3d2fb
    Heinrich Lee Yu authored
    When there are a large number of users the pagination query in the admin
    panel users list times out.
    
    This commit changes the query to an approximate and paginates without
    counts if it is over the limit.
    
    Changelog: performance
    1bd3d2fb
users_controller.rb 9.71 KB