Using the Struct plugin I can't seem to figure out how to display an alternative lookup field in a struct table. Does someone know how to do this?
Let me explain what I mean ...
Suppose I have 2 schemas, with the following fields:
unit.name
unit.symbol
ingredient.name
ingredient.amount
ingredient.unit (is a lookup of unit.name)
When entering ingredients I want to select a unit using its name field (this works)
But when I display the struct table I want to display a unit using its symbol field
On my wiki page I would expect to do something as included below, but the syntax unit.symbol doesn't work (and neither does unit:symbol, or unit>symbol):
---- struct table ----
schema : ingredient
cols : name, amount, unit.symbol
filter : %pageid% = $ID$
csv : 0
----
Your help is appreciated!
Thanks,
Ray