benjypng / logseq-kanban-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用query查询tasks,并没有自动更新看板

duiliuliu opened this issue · comments

插件:logseq-kanban-plugin v2.7.2
logseq:0.6.8
mac端

示例图片:动态query到任务了,不过看板没有展示出来
image

示例操作:

- {{renderer :kanban_yewciylgd}}
    - tasks
        -  #+BEGIN_QUERY
 {:title [:h3 "✅ All Tasks:"]
  :query [:find (pull ?b [*])
          :in $ ?start ?today
          :where
          [?b :block/marker ?marker] 
          [(missing? $ ?b :block/scheduled)]
          (between ?b ?start ?today)
          [?b :block/page ?page]           
          [?page :block/original-name ?name]  
]
  :inputs [:7d :today]
  :breadcrumb-show? false
  :result-transform (fn [result]
                      (sort-by (fn [h]
                                 (get h :block/created-at)) result))
  :collapsed? false}
#+END_QUERY

There are some changes to the way queries are done in Logseq, but the plugin has not been updated to accommodate the changes. Will need some time to look into this.