Submitted by viking on 2022/08/14 15:12

I have a Tag #Status with several children including #Do and #Done.
I have a Grid with Source #Do and a column #Status.

Some items have assigned #Do and some items have assigned #Do and #Done (and other children).
I want to exclude/hide items which have the #Done Tag.

In the Source Filter, I enter "#Done is null".
However, then all items are excluded...

What am I doing wrong?

Comments

Are you referring to section 7 "Comparing Tags to Y/N Fields"?
If so, are you referring to the sentence "Y/N fields Pros are: Support Equations"?

In other words, it can't be done because I cannot use an equation such as "#Done is null" for Tags?

If so, is it possible to create an Auto-assign rule for #Done to set the field "Done" and then filter using "Done is null" instead?

Not sure how to create such an Auto-assign rule though? The itemTagCount will increase if I add any Tag (not just #Done) to the item.

I think that I may need to try your explanation here instead:
https://infoqubeim.com/drupal5/comment/24960#comment-24960
Would that work (I still need to try to understand and try it)?

No,

Tags are however different than Y/N field in the following ways:

  • Tags are shown in a single column, while fields are shown in individual columns
  • Tags in grid source and filter support inheritance which fields do not. The tag inheritance depth is set in Grid > Properties > Data
  • To specify that items must not have a given tag, the syntax is NOT #TagName (e.g. (#Tag1 OR #Tag2) AND NOT #Tag3). For fields, you would use [Field1] is Null
  • Tags do not have row and column equations, nor do they have auto-assign rules. Fields can however assign tags in their auto-assign rules
How do I ?