Dang! Yes! I had a typo in there, thanks a lot for your help! Works just as 
intended, what a wonderful overview :-)

si schrieb am Donnerstag, 29. April 2021 um 12:23:49 UTC+2:

> I just did a quick test and it seemed to work as I expected:
>
> tag[task] - lists all tasks
> !field:status[done] - filters that list down to only open tasks
> tags[] - lists all the tags of those open tasks
> tag[projects] - identifies which of those tags represent projects
>
> That should give you all projects that have open tasks. Maybe there is a 
> capitalization error, e.g. "done" vs "Done"?
> On Thursday, 29 April 2021 at 09:45:47 UTC+1 Bastian wrote:
>
>> hmm, nah, doesn't work (zero results).
>> I'm going to fiddle around with your suggestions a little, maybe I can 
>> get it to work.
>> I already got a list of all projects (first filter expression from my 
>> inital post) with their tasks underneath (second filter expression).
>> Now what I would need to do is to adapt the first filter expression so it 
>> only selects projects that have open tasks.
>>
>> So as far as I understood your filter expression it filters all tasks 
>> with tag[task], excludes done tasks with !field:status[done], which is 
>> correct and then the magic happens in tags[]tag[project], correct?
>> I'm currently just not sure on how I would have to combin it, to filter 
>> only projects with open tasks, as the filter alone isn't giving me any 
>> results yet :/
>>
>>
>> si schrieb am Mittwoch, 28. April 2021 um 21:11:19 UTC+2:
>>
>>> Try this:
>>>
>>> [tag[task]!field:status[done]tags[]tag[project]]
>>>
>>> I'm assuming that you are using a "status" field to indicate that a task 
>>> is complete.
>>>
>>> On Wednesday, 28 April 2021 at 15:03:31 UTC+1 Bastian wrote:
>>>
>>>> Hi all,
>>>>
>>>> I'm trying to create a project overview with projects that have open 
>>>> tasks.
>>>> The current system has tiddlers that are tagged "project" which defines 
>>>> them as a project.
>>>> A task is another tiddler, that has the projects title as a tag and 
>>>> additionally the tag "task" assigned to them.
>>>>
>>>> I'd like to achieve an overview with a list of only the projects, that 
>>>> have open tasks, but I can't get it to work.
>>>> This lists me all open projects:
>>>>
>>>> [tag[project]!status[done]!status[REJECTED]!status[ONHOLD]sort[]]
>>>>
>>>> and this lists me all open tasks under the list of the projects:
>>>>
>>>> [!has[draft.of]tag[task]tag<currentTiddler>!status[done]!status[REJECTED]] 
>>>> [enlist{!!aliases}tagging[]tag[task]!status[done]!status[REJECTED]]
>>>>
>>>> What I can't get to work is that I only want to be list the projects 
>>>> that have open tasks, and not every project.
>>>>
>>>> I tried to filter for tiddlers with the tag task and the currentTiddler 
>>>> in the tag but that just gave me an empty result.
>>>>
>>>> Can someone point me in the right direction what the first filter 
>>>> expression would have to look like?
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ae233219-52bc-43c1-a17b-38e0e8b80601n%40googlegroups.com.

Reply via email to