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

[Bug] Inconsistent query results when querying inlinks #852

Closed
the-mixx opened this issue Feb 15, 2022 · 2 comments
Closed

[Bug] Inconsistent query results when querying inlinks #852

the-mixx opened this issue Feb 15, 2022 · 2 comments
Assignees
Labels

Comments

@the-mixx
Copy link

@the-mixx the-mixx commented Feb 15, 2022

What happened?

In the attached screnshots I can see 3x files in the “backlinks” pane, but when querying via dataview I only get 1x file. The 1st query I know will only list 2x files as it’s looking for the date in the date:: field but they should appear in the 2nd 2x queries.

Closing and reopening Obsidian resolves the issue initially, but then it appears again.

DQL

TABLE WITHOUT ID file.link AS Note, note-status AS Status, people AS People
WHERE contains(file.outlinks, this.file.link)
WHERE !contains(file.name, this.file.name)

OR

`=this.file.inlinks`

JS

n/a

Dataview Version

0.4.23

Obsidian Version

0.13.23

OS

MacOS

@blacksmithgu
Copy link
Owner

@blacksmithgu blacksmithgu commented Feb 15, 2022

Ah, the Obsidian API returns non-normalized links. Fixed for 0.4.23b.

@the-mixx
Copy link
Author

@the-mixx the-mixx commented Feb 15, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants