Let's look at the highlighted portion of  
[<proj>indexes[]addsuffix[/project]filter[indexing<proj>match<pid>]]

The first and last square brackets in the highlighted text are for the 
operand to the filter operator. The square brackets tells us that you are 
passing a literal operand, not a text reference or a variable.

The actual operand, i.e. the filter, that you pass to the filter operator 
is therefore:
indexing<proj>match<pid>
This is not a valid filter, it is missing opening and closing square 
brackets.

A valid filter would look like [indexing<proj>match<pid>] and this would 
need to be defined as a variable and then passed as an operand to the 
filter operator because of the square brackets.

Hope that helps. Have a nice weekend.

Saq

On Friday, April 30, 2021 at 8:21:19 PM UTC+2 [email protected] wrote:

> I beg your pardon' Saq, but each of my filter were well written as far as 
> I can see.
>
> quoting myself:
>
>
>
>>> {{{
>>> [<proj>indexes[]addsuffix[/project]filter[indexing<proj>match<pid>]]
>>> }}}
>>>
>>>
> and
>  
>
>> <$set name=x 
>>> filter="[<proj>indexes[]addsuffix[/project]filter[indexing<proj>match<pid>]]">
>>> x = <<x>>
>>> </$set>
>>>
>>>
> and finally
>  
>
>> <$set name=y 
>>> filter="[<proj>indexes[]addsuffix[/project]filter[match<ref>]]">
>>> y(<<ref>>) = «<<y>>»
>>> </$set>
>>>
>>>
> there is no square bracket within them. 
>
> In fact if I try these form of writing I get nothing but an ugly error 
> message from the browser (internal javascript error : "TypeError: widget is 
> undefined")
>
> <$vars ppp="[match<chk>]">
> <$list variable=ref filter="[<proj>indexes[]addsuffix[/project]]">
>   <$set name=chk filter="[<proj>getindex<ref>match<pid>then<ref>]">
>     @<<chk>>@
> <$set name=y filter="[<proj>indexes[]addsuffix[/project]filter<ppp>]">
> y(<<ref>>) = «<<y>>»
> </$set>
> </$vars>
>
> which is very puzzling too.
>
> I also tried the :filter[stuff here] syntax but it was not better either.
>
> -- 
> Jean-Pierre
>
>

-- 
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/f1e8424c-d028-4fb4-b8e3-76647b4628c9n%40googlegroups.com.

Reply via email to