Put dataview task list in a Kanban card with the Kanban plugin

hello,

i have set a daily note that is a kanban note with a ‘‘to do’’ board
i which to make this dataview code work on a card so it put all the task i have planed for the day

dv.taskList(dv.pages().file.tasks 
  .where(t => !t.completed)
  .where(t => t.text.includes("{{date:YYYY-MM-DD}}")))

but it’s seems that the code doesn’t work when i put it on a card, it only work on a normal note
any idea how i could make it work with the kanban plugin ?