Empty items in some filter operator with extra tag

One filter is returning empty items in one tiddler, but not others. I setup an example to describe my problem (https://filter-test.tiddlyhost.com/).

Data structure

  • Places: South Australia, Adelaide with tag South Australia
  • Entity: University of Adelaide, Flinders University with tag South Australia
  • Colleague: Ava, Henry, Oliver, Jack with tags for Place (one or More) and Entity (One or More)

Then I wrote a viewtemplate to list all Colleagues in a Place and tagging tree by Entity.

For South Australia, my expected results look like

However, there are no Colleague in Flinders University.

Then I manually test these filters

[[South Australia]] [[South Australia]taggingtree[]tag[Place]] +[tagging[]tag[Colleague]] 

Working as expected to list all colleagues

But returning empty list after adding extra operator, e.g.

[[South Australia]] [[South Australia]taggingtree[]tag[Place]] +[tagging[]tag[Colleague]] :filter[tag[Flinders University]]
[[South Australia]] [[South Australia]taggingtree[]tag[Place]] +[tagging[]tag[Colleague]] +[tag[Flinders University]]

The problem is caused by extra tag South Australia in Flinders University. I cannot understand the behaviour here and it might be a bug of TW.

Any suggestions?

To make sure there wasn’t a white space issue, I turned the name into FlindersUniversity.

When I tested this simple test, it also failed:

<<list-links "[[Henry]] [[Jack]] +[tag[FlindersUniversity]]">>

When I disabled taggingtree and tagstree plugins, and reloaded, the simple test worked.

So I’m guessing that one or more of those plugins might be over-riding the core tag code. A lot of stuff changed with 5.3.x.

Further testing. These are working.

<<list-links "[[South Australia]] [[Adelaide]] +[tagging[]tag[Colleague]]  +[tag[Flinders University]]">>
<<list-links "[[South Australia]] [[South Australia]tagging[]tag[Place]] +[tagging[]tag[Colleague]] +[tag[Flinders University]]">>

It seems taggingtree has some trouble.