[openSUSE/open-build-service] 61fc25: Use server-side pagination for the maintenance req...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 61fc25f522689f2a1aa820ffe5be1639787cb59c https://github.com/openSUSE/open-build-service/commit/61fc25f522689f2a1aa820... Author: Dany Marcoux <dmarcoux@posteo.de> Date: 2021-04-06 (Tue, 06 Apr 2021) Changed paths: A src/api/app/controllers/webui/users/patchinfos_controller.rb A src/api/app/datatables/tasks_maintenance_requests_datatable.rb M src/api/app/models/user.rb M src/api/app/views/webui/shared/_patchinfos_table.html.haml M src/api/app/views/webui/users/tasks/index.html.haml M src/api/config/routes/webui_routes.rb Log Message: ----------- Use server-side pagination for the maintenance requests table on the user tasks page Prevent N+1 queries for IssueTracker and User (it wasn't needed to load users, so this was dealt with by not fetching users anymore). Fetch maintenance requests once the page is loaded. Fixes #10959 Commit: 5ea9d83b09fd7aca29a1e0e8938f5203054f12f0 https://github.com/openSUSE/open-build-service/commit/5ea9d83b09fd7aca29a1e0... Author: Victor Pereira <vpereira@suse.de> Date: 2021-04-06 (Tue, 06 Apr 2021) Changed paths: A src/api/app/controllers/webui/users/patchinfos_controller.rb A src/api/app/datatables/tasks_maintenance_requests_datatable.rb M src/api/app/models/user.rb M src/api/app/views/webui/shared/_patchinfos_table.html.haml M src/api/app/views/webui/users/tasks/index.html.haml M src/api/config/routes/webui_routes.rb Log Message: ----------- Merge pull request #10973 from dmarcoux/issue-10959 Use server-side pagination for the maintenance requests table on the user tasks page Compare: https://github.com/openSUSE/open-build-service/compare/b6c4d109afe8...5ea9d8...
participants (1)
-
Victor Pereira