Skip to content
Discussion options

You must be logged in to vote

group by task.start or if task.start does not exist by task.file.filenameWithoutExtension

Looking at the parts of the description of this question, I would write it as:

group by function    \
    if (task.start.formatAsDate() !== '') return task.start.formatAsDate(); \
    return task.file.filenameWithoutExtension;

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Adriz1er
Comment options

@claremacrae
Comment options

Answer selected by Adriz1er
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
scope: grouping Changes to the grouping capabilities scope: scripting Issues to do with custom filters, custom sorting and similar
2 participants