Hi Stephan,

Very nice and concise! I knew I didn't get your initial question :-)

Xavier.

-- Xavier Cazin

On Wed, Sep 17, 2014 at 10:44 AM, Stephan Hradek <[email protected]>
wrote:

> removeprefix! ;)
>
> I had a look at the documentation and found a solution I like.
>
> Instead of building my table rows in the loop, I do it in a macro now.
> Removing the title's prefix in the loop, I can reduce my list to:
>
> \define qc_row(id)
>   <tr>
>     <td><$checkbox tiddler="QC $id$" tag="resolved"/></td>
>     <td>
>       <$link to="QC $id$">QC $id$</$link>
>       <a href="testdirector:[S]our.qc.server/qcbin,MYDOMAIN,SOMETHINGELSE
> ,%5bAnyUser%5d;2:$id$">↗</a>
>     </td>
>     <td><$transclude tiddler="QC $id$" field="summary"/></td>
>   </tr>
> \end
>
> <table>
> <tr>
>   <th>OK</th>
>   <th>Defect Number</th>
> <th>Summary</th>
> </tr>
>
> <$list filter="[prefix[QC ]!tag[resolved]!sort[title]removeprefix[QC ]]">
>   <$macrocall $name="qc_row" id=<<currentTiddler>>/>
> </$list>
> <$list filter="[prefix[QC ]tag[resolved]!sort[title]removeprefix[QC ]]">
>   <$macrocall $name="qc_row" id=<<currentTiddler>>/>
> </$list>
> </table>
>
>
>  --
> 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 post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to