Fix usage of OR filtering
What does this MR do and why?
Fixes usage of OR filter for single epic/issue list. because resource_parent is obtained differently for (epic/issue) board and list, we rather pass the parameter explicitly to the method.
Related to #382969 (comment 1273217634)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Feature.enable(:or_issuable_queries)
- Sample queries
query {
boardList(id: "gid://gitlab/List/1", issueFilters: {or: {labelNames: ["foo"]}}) {
id
}
}
query {
epicBoardList(id: "gid://gitlab/Boards::EpicList/1", epicFilters: {or: {labelName: ["foo"]}}) {
id
}
}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jan Provaznik