Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with queries #78

Open
pauldabl opened this issue Apr 25, 2024 · 5 comments
Open

Help with queries #78

pauldabl opened this issue Apr 25, 2024 · 5 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@pauldabl
Copy link

pauldabl commented Apr 25, 2024

Hi there,

I need a little help with queries in the logseq-graph-analysis plugin. I can’t figure out how to make them work (in searches or filters).

The documentation says to use q: {your query}. I tried different versions but no luck so far (it doesn’t seem to affect the graph in any way).

The query {{query (page-property :type "Zettelkasten")}} works in a block but q: (page-property :type "Zettelkasten") doesn’t work in logseq-graph-analysis.

What am I missing ? Is it a bug ?

Many thanks!

@cannibalox
Copy link

maybe a bug ?
for me q: (property type "Zettelkasten") works but q: (page-property :type "Zettelkasten") never did...(same for page-tags, while tags is working)

@pauldabl
Copy link
Author

Glad to hear I'm not the only one having issues with queries. I was beginning to feel stupid!

That's weird, I just tested your option and unfortunately it doesn't work for me. In fact I have been playing with other simple queries and nothing works. Textual search works though.

@cannibalox
Copy link

cannibalox commented Apr 25, 2024

sorry I copy-pasted without paying enough attention, can you try : q: (property type Zettelkasten) ? (without quotes)
it should return results with type:: Zettelkasten

@pauldabl
Copy link
Author

It does nothing. I tried to reinstall the plugin as it was unstable and it doesn't find any result to the query without quotes, nor to the one with quotes. Thanks for trying to help me 😉

@mrparalon
Copy link
Collaborator

It is looking like a bug, queries with a dash in name is not working

@mrparalon mrparalon added bug Something isn't working good first issue Good for newcomers labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants