[openSUSE/open-build-service] bbba86: Fix request filter from API
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: bbba868c95dcb7b06d8ee6476d5ece4455bcf58d https://github.com/openSUSE/open-build-service/commit/bbba868c95dcb7b06d8ee6... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/app/models/bs_request/find_for/project.rb Log Message: ----------- Fix request filter from API When filtering by both role and user the code crashed as we set the @relation to nil by mistake. When there aren't new conditions to add to the relation, we should return the relation as it was before, not nil. Commit: 57091841b82f00704edec90fcd97efb56ea212a0 https://github.com/openSUSE/open-build-service/commit/57091841b82f00704edec9... Author: Eduardo J. <enavarro@suse.com> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/app/models/bs_request/find_for/project.rb Log Message: ----------- Merge pull request #16840 from saraycp/fix_16692 Fix request filter from API Compare: https://github.com/openSUSE/open-build-service/compare/e2145b07d002...570918... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications
participants (1)
-
Eduardo J.