I have a tiddly with which I manage the IT equipment of the staff.
There are also equipment tiddlers and personal tiddlers.
The names of the devices are stored as tags in the person tiddlers.
The names of the persons and the device classes are stored as tags in the device tiddlers.
Now I would like to determine from the person tiddler which devices the person has.
At the moment I have to enter the person name in the macro call, even though I have written the personal name exactly like the tag.
I want to avoid that.
My macro call currently looks like this:
<< person-device-a "person name" "device class" >>
The macro currently looks like this:
```
\ define person-device-a (person class)
<tr valign=middle align = left> <th>$class$</th>
<td><$list filter = "[tag [$class$]sort[title]]+[tag[$person$]sort [title]]"></td>
<td valign=middle align = center>
<$list filter="[tag[$person$]]+[tag [$class $]count[]]"></$list>
</td>
</tr>
\end
```