[TW5] Filter that is driving me crazy

57 views
Skip to first unread message

Danielo Rodríguez

unread,
Oct 2, 2015, 5:23:57 AM10/2/15
to TiddlyWiki
Hello,

I am unable to understand why the following filter:

[tag[table]] [tag[property]] [has[property-of]] -[!has[tmap.edges]!has[property-of]]

Does not include the following tiddler


tags: table
title: CONTENT_PROVIDER
tmap.id: 5b873e24-5a0a-499a-b36e-0e9641b247a6

It has the required tag!

Thank you all

Mat

unread,
Oct 2, 2015, 6:46:26 AM10/2/15
to tiddl...@googlegroups.com
Doesn't the initial minus in this

-[!has[tmap.edges]!has[property-of]]

mean "...remove all that don't ..."

and your tiddler doesn't.

BTW, putting [tag[table]] at end in filter does include your tiddler in result. I put up a test here. So it is not the tag that is the issue.

<:-)

Mat

unread,
Oct 2, 2015, 6:51:45 AM10/2/15
to TiddlyWiki
or maybe you've changed some field name and mix up these two?

-[!has[tmap.edges]



Danielo Rodríguez

unread,
Oct 2, 2015, 8:01:16 AM10/2/15
to TiddlyWiki
El viernes, 2 de octubre de 2015, 12:46:26 (UTC+2), Mat escribió:
Doesn't the initial minus in this

-[!has[tmap.edges]!has[property-of]]

mean "...remove all that don't ..."

That is indeed what I wanted to do. And I understand it, now I see that it is wrong, while before reading you I though it was right. Some weird chemicals at my brain...

The problem is that the tiddler has "other tiddlers pointing" to it, and that does not involves any field on the tiddler itself. I want to remove those tiddlers that are not referenced from other tiddlers, but I think that is not actually possible in a single filter.



Many thanks
Reply all
Reply to author
Forward
0 new messages