[tw5] Re: "type" filter operator missing from official list?

2019-11-06 Thread TonyM
Just like with regular fields you can use the has and get operators then filter 
the result such as has[type]prefix[text]

regards
Tony

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/53663d94-cf44-4051-a6e0-d3ea28ad72dc%40googlegroups.com.


[tw5] Re: "type" filter operator missing from official list?

2019-11-06 Thread @TiddlyTweeter
A. Gloom

> tiddlers with no type set? ...

 

> so what does the field operator [type[]] produce?


I believe they are: *text/vnd.tiddlywiki  *?

TT

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aba73c52-45f1-4a74-ad99-6e4f43792ba9%40googlegroups.com.


[tw5] Re: "type" filter operator missing from official list?

2019-11-05 Thread A Gloom
ty Mark & Tony, I forgot about the automatic field operator assumption

so what does the field operator [type[]] produce?  tiddlers with no type 
set?  Most of my tiddlers that don't have a type set display their type 
application/x-tiddler (not in Tiddler Info>Advanced>Fields which reads type 
only if set, but in the More>Fields list

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c5e90de4-b72c-4309-8a66-2a67eaf4a102%40googlegroups.com.


[tw5] Re: "type" filter operator missing from official list?

2019-11-05 Thread TonyM
A,

Mark beat me too it

The reason is there is not special operator. since type is a field name you 
are effectively using a version of the Field Operator 


This is actually a nice option because to can say fieldname[value] which in 
a way allows you to define what look like custom operators eg
show-details[yes]

Regards
Tony

On Wednesday, November 6, 2019 at 2:21:53 PM UTC+11, A Gloom wrote:
>
> I didn't see the "type" operator (ie:type[text/vnd.tiddlywiki]) on the 
> official list of filter operators (or have a tiddler) at TWcom
>
> Interestingly, [type[]] placed in Advanced Search>Filter produses result 
> by not the total result one would expect-- couldn't determine what its 
> selection criteria is
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/901f2585-5285-4f05-9d10-90838d5c240d%40googlegroups.com.


[tw5] Re: "type" filter operator missing from official list?

2019-11-05 Thread 'Mark S.' via TiddlyWiki
"type" isn't a filter operator -- it's a field. 

>From the docs for the field operator:

The syntax of a filter step  treats 
> any unrecognised filter operator 
>  as if it was the suffix to 
> the field operator. 
>

HTH


On Tuesday, November 5, 2019 at 7:21:53 PM UTC-8, A Gloom wrote:
>
> I didn't see the "type" operator (ie:type[text/vnd.tiddlywiki]) on the 
> official list of filter operators (or have a tiddler) at TWcom
>
> Interestingly, [type[]] placed in Advanced Search>Filter produses result 
> by not the total result one would expect-- couldn't determine what its 
> selection criteria is
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e606963f-4200-48ad-a4ac-6ee82e5b80b1%40googlegroups.com.