What's in the <<table>> macro? Does anything show up when you run tiddler
3? It might help if you posted your entire TW file.
I'm thinking that the filter gets evaluated too late. So you might have to
send it up a level like:
\define table2(id)
<<table [tag[inspection]hive-id[$id$]] "title caption inspection-date
inspection-type inspection-description" "UID Name Date Type Description">>
\end
<$macrocall $name=table2 id={{!!hive-id}}/>
Good luck,
Mark
On Thursday, April 6, 2017 at 7:30:25 AM UTC-7, Tristan Kohl wrote:
>
> Hey guys,
>
> sorry to stress your patience again but I really suck at some of the TW
> things :/
>
> Since I fixed my last problem by going another way I am now stuck with
> filters...
>
> Tiddler 1:
>
> hive-id: 2
>> tags: inspection
>> title: Inspection 1
>>
>
> Tiddler 2:
>
> hive-id: 2
>> tags: hive
>> title: Hive 2
>>
>
> Which uses this template:
>
> title: $:/plugins/beehive/templates/hive
>> tags: $:/tags/ViewTemplate
>>
>> <$list filter="[is[current]tag[hive]]">
>>
>> <<tabs "$:/plugins/beehive/views/listinspections
>> $:/plugins/beehive/masks/newinspection"
>> "$:/plugins/iceity/views/listinspections">>
>>
>
> Tiddler 3:
>
> title: $:/plugins/beehive/views/listinspections
>> caption: List inspections
>>
>> <<table [tag[inspection]hive-id{!!hive-id}] "title caption
>> inspection-date inspection-type inspection-description" "UID Name Date Type
>> Description">>
>>
>> {!!hive-id}
>>
>
> My problem:
> If I search by hand for: [tag[inspection]hive-id[2]] I get Tiddler 1 which
> is fine. But Tiddler 3 does not display Tiddler 1 even though the
> TextReference in the end returns a "2" which should end up in the filter as
> well.
>
> My only clue is that the template for Tiddler 2 messes things up for the
> filter by changing the <<currentTiddler>> when tabbing stuff.
>
> I hope there is still someone willing to help me out, my head is already
> spinning.
>
> Thank you very much,
> Tristan
>
--
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/3b3e9274-9d60-4d4e-8552-daff742eecf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.