Add negative label filtering for cards
This commit is contained in:
@@ -37,6 +37,9 @@ export function* fetchCards(listId) {
|
||||
const { search } = yield select(selectors.selectBoardById, boardId);
|
||||
const filterUserIds = yield select(selectors.selectFilterUserIdsForCurrentBoard);
|
||||
const filterLabelIds = yield select(selectors.selectFilterLabelIdsForCurrentBoard);
|
||||
const filterExcludedLabelIds = yield select(
|
||||
selectors.selectFilterExcludedLabelIdsForCurrentBoard,
|
||||
);
|
||||
|
||||
function* getCardsRequest() {
|
||||
const response = {};
|
||||
@@ -46,6 +49,8 @@ export function* fetchCards(listId) {
|
||||
search: (search && search.trim()) || undefined,
|
||||
userIds: filterUserIds.length > 0 ? filterUserIds.join(',') : undefined,
|
||||
labelIds: filterLabelIds.length > 0 ? filterLabelIds.join(',') : undefined,
|
||||
excludedLabelIds:
|
||||
filterExcludedLabelIds.length > 0 ? filterExcludedLabelIds.join(',') : undefined,
|
||||
before: lastCard || undefined,
|
||||
});
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user