Skip to content
Discussion options

You must be logged in to vote

Hi,

Without knowing anything about your vaults, and if you are even running the same data on this queries, I cannot say whether it makes sense or not that the behaviour is different.

But, for the same vault content, with the same Obsidian and Tasks settings, and a non-corrupt Obsidian cache, the line that gives the error should/would give the same results on all platforms.

The failing line is this one:

group by function task.tags.map( (tag) => tag.split('/')[1].replace('#', '') )
  1. tag.split('/') splits the tag in to "words", at any / characters
  2. [1] then choses the second of the "words" - and if there was only one "word" in the tag, it uses undefined instead
  3. So for a tag like #OneWord it …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by IAmDarthMole
Comment options

You must be logged in to vote
1 reply
@claremacrae
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants