1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-21 14:19:44 +02:00

fix: Add server-side filtering, cleanup

This commit is contained in:
Maksim Eltyshev 2025-06-16 23:13:14 +02:00
parent a5b3b4ad5b
commit 98eeb80a19
5 changed files with 29 additions and 29 deletions

View file

@ -29,6 +29,8 @@ const getIdsByEndlessListId = async (
if (filterUserIds) {
query += ' JOIN card_membership ON card.id = card_membership.card_id';
query += ' JOIN task_list ON card.id = task_list.card_id';
query += ' JOIN task ON task_list.id = task.task_list_id';
}
if (filterLabelIds) {
@ -84,6 +86,7 @@ const getIdsByEndlessListId = async (
});
query += ` AND card_membership.user_id IN (${inValues.join(', ')})`;
query += ` AND task.assignee_user_id IN (${inValues.join(', ')})`;
}
if (filterLabelIds) {