Skip to content

Query result now showing #510

@hdansou

Description

@hdansou

Search first

  • I searched and no similar issues were found

What Happened?

Using the following query does not show any result in the UI

{:query [:find (pull ?block [:block/title :block/created-at])
         :where
           [?block :logseq.property/status ?status]
           [?status :db/ident :logseq.property/status.doing]]
 }

Unless we set :view pprint

Reproduce the Bug

Create an advanced query with:

{:query [:find (pull ?block [:block/title :block/created-at])
         :where
           [?block :logseq.property/status ?status]
           [?status :db/ident :logseq.property/status.doing]]
      ;:view (fn [r] (pprint r))
 }

Expected Behavior

We should be able to use all provided properties to query and return the output in a viewable format in List or Table views. Using :view pprint should not be the way.

Files

No response

Browser, Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions