Query works fine on its own, but not as default-query

Hi,

I have a problem with default query. On it’s own, the query works fine. But when I put it in default-queries, it does show the same number of results, but no table below.

Here’s the query I’m using.

 :default-queries 
 {:journals
   [{:title "Current"
   :query [:find (pull ?p [*])
   :where
   			(page-property ?p :status "🔥")]
   :collapsed? false
    }
   ]
}

Is this a bug, or am I doing something wrong? Other queries seem to work fine as default.

I believe, but don’t quote me on this, it’s because default queries only support block output and not table output.
When asking for pages Logseq automatically creates a table. In this case the table doesn’t render as it is not supported in this location.
I would say this is a feature request.
But this is just me speculating :sweat_smile:

2 Likes

I had a similar issue. See

And how can I fix it? Because I see people having that in the main page of journals

Example of what those other people have?

I have same issue. I created “LATER” block yesterday but it does not show on journals page (neither other tasks) I journal i see only those which are relevat for specific day :frowning: