Colleagues,

Experimenting with the contains operator but having trouble with how to write the operator string correctly.

Am changing my <$list> structure to

<$list filter="[[$artworkID$]!is[blank]]" variable="not_blank">
   <$list filter="[tag[Names]!tag[Index]!match<currentTiddler>">
      <$list filter="[contains:artwork_id[$artID$]]">&bull; <$link to={{!!name_id}}><$view field="title"/> <$view field="person_name"/></$link><br/>
      </$list>
  </$list>
</$list>

Have tried other formats around the artID parameter but nothing returns any results.

What should the correct contains operator expression in this case be?

bobj

On 17/9/20 7:37 pm, Eric Shulman wrote:
On Wednesday, September 16, 2020 at 11:37:09 PM UTC-7, Bob Jansen wrote:

    I have three tiddlers, tag=Names, TK5, TK6 and TK7. Each has a
    field, artwork_id but only TK5 has artwork_id=TK1. the other two
    have an empty field.
    I have a tiddler, TK1 which has a field artwork_id with value TK1.
    TK1 calls a macro  <<is_purchased_by {{!!artwork_id}} >>

    The macro is:
    |
    \define is_purchased_by(artworkID)
    <$wikify name="artID"text=[$artworkID$]>
    <$log $message="hello world"myvalue=artID />
    <$list filter="[[$artworkID$]!is[blank]]"variable="not_blank">
    <$list
    
filter="[tag[Names]!tag[Index]!match<currentTiddler>search:artwork_id[$(artID)$]]">
    &bull;<$link to={{!!name_id}}><$view field="title"/><$view
    field="person_name"/></$link><br/>
    </$list>
    </$list>
    </$wikify>
    \end
    |




--
--------------------------------
Dr Bob Jansen
122 Cameron St, Rockdale NSW 2216, Australia
Ph (Korea): +82 10-4494-0328
Ph (Australia) +61 414 297 448
Resume:http://au.linkedin.com/in/bobjan
Skype: bobjtls
KakaoTalk: bobjtls
http://cultconv.com

In line with the Australian anti-spam legislation, if you wish to receive no further 
email from me, please send me an email with the subject "No Spam"

--
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/37cf224f-3471-b4fa-b593-0e16034fc32f%40gmail.com.

Reply via email to