[openSUSE/open-build-service] ff5e3a: Prevent performing the same query multiple times
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: ff5e3a8c73e70fcc1cf6540b837ecf769b6a0c29 https://github.com/openSUSE/open-build-service/commit/ff5e3a8c73e70fcc1cf654... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-03-30 (Tue, 30 Mar 2021) Changed paths: M src/api/app/views/webui/shared/bs_requests/index.json.erb Log Message: ----------- Prevent performing the same query multiple times Refactor code in the requests table view, to not to trigger the same query multiple times. Co-authored-by: Saray Cabrera Padrón <scabrerapadron@suse.de> Commit: 7893419b3f984425a55c13b861042db75a942cf5 https://github.com/openSUSE/open-build-service/commit/7893419b3f984425a55c13... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-03-31 (Wed, 31 Mar 2021) Changed paths: M src/api/app/controllers/webui/project_controller.rb M src/api/spec/controllers/webui/project_controller_spec.rb Log Message: ----------- Remove an unnecesary assignment and query The `@requests` variable is no longer used in the view. The data is retrieved by an AJAX query. Co-authored-by: Saray Cabrera Padrón <scabrerapadron@suse.de> Commit: 001cf1cbda017db40705e1e73c0edd1852c0c3e5 https://github.com/openSUSE/open-build-service/commit/001cf1cbda017db40705e1... Author: Eduardo J <enavarro@suse.com> Date: 2021-04-01 (Thu, 01 Apr 2021) Changed paths: M src/api/app/controllers/webui/project_controller.rb M src/api/app/views/webui/shared/bs_requests/index.json.erb M src/api/spec/controllers/webui/project_controller_spec.rb Log Message: ----------- Merge pull request #10962 from eduardoj/requests-improvements Requests improvements Compare: https://github.com/openSUSE/open-build-service/compare/7bd4ab9cb6ab...001cf1...
participants (1)
-
Eduardo J.