I don't understand what's supposed to be going on in your filters. They
seem to be complicated and I couldn't get them to work without your data.
Since I don't have access to your sample data tiddlers, I guessed at what
was needed. Here is my simplified version, which I generated with 2
tiddlers, sql & windows-7:
\define showSkillParent()
$(dasSkillsCompanyIsLookingFor)$
<hr/>
$(dasJobItemSkillsTags)$<br/>
<ul>
<!-- BEGIN: Get a list of skill-categories. -->
<$list filter="$(dasJobItemSkillsTags)$">
<li><$view field="title"/>
<ul>
<$list filter="[tag<currentTiddler>]">
<li>
<$view field="title"/>
</li>
</$list>
</ul>
</li>
</$list>
<!-- END: Get a list of skill-categories. -->
</ul>
\end
The main functional change was in the second list, where I used "
[tag<currentTiddler>]" to just bring in items tagged according to the first
(outer) list.
HTH
Mark
On Thursday, November 10, 2016 at 10:04:46 AM UTC-8, leeand00 wrote:
>
> Using the macro below I get the following text when I set the field
> "jobitemsskilltags"
> to "[title[sql]][title[windows-7]]"
>
>
> - programming-lang
> - sql
> - windows-7
> - os
> - sql
> - windows-7
>
> It works pretty good..but I'd like only the titles of skills tagged with
> os to show up under os...and only the skills tagged with programming-lang
> to show up under programming-lang for instance:
>
>
> - programming-lang
> - sql
> - os
> - windows-7
>
>
>
> \define showSkillParent()
> $(dasSkillsCompanyIsLookingFor)$
> <hr/>
> $(dasJobItemSkillsTags)$<br/>
> [title[sql]][title[windows-7]]
>
> <ul>
> <!-- BEGIN: Get a list of skill-categories. -->
> <$list filter=
> "$(dasJobItemSkillsTags)$+[tags[]tag[skill-cat]]+[tagging[]]+[tags[]tag[skill-cat]]"
> >
> <li><$view field="title"/>
> <ul>
> <$list filter=
> "$(dasJobItemSkillsTags)$+[tags[]tag[skill-cat]]+[tagging[]]+[tags[]tag[skill-cat]]+$(dasJobItemSkillsTags)$"
> >
> <li>
> <$view field="title"/>
> </li>
> </$list>
> </ul>
> </li>
> </$list>
> <!-- END: Get a list of skill-categories. -->
> </ul>
> \end
>
>
>
> <$vars dasJobItemSkillsTags={{!!jobitemsskilltags}}
> dasSkillsCompanyIsLookingFor={{!!skillscompanyislookingforfilter}}>
> <<showSkillParent>>
> </$vars>
>
>
>
> I think this has something to do with the nested $list's filter which
> reads:
> "
> $(dasJobItemSkillsTags)$+[tags[]tag[skill-cat]]+[tagging[]]+[tags[]tag[skill-cat]]+$(dasJobItemSkillsTags)$
> "
>
> but I'm not sure how to filter it down to JUST the skills that are in that
> category.
>
> P.S. And yes, I am aware of the TOC macro thank you.
>
> Thank you,
> Andrew J. Leer
>
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/94c9a0cb-2160-4fc8-8548-f15d6652829a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.