{ "plus": ["taglist", {"refer_to": "_self"} ] }
Grant wrote:
In the *right+*content we added WQL { "left": {"referred_to_by": {"left": "_self", "right": "in state" } }, "right": "general information" } to pick up general information cards for the current county. I'm a bit confused here too. First, in { "left": {"referred_to_by": {"left": "_self", "right": "in state" } } I believe we are calculating the outer left, with an inner left where _self is going to be the current county and right the current state -- resulting in something like: Clark_County%2C_WA+Washington. In the "right": "general information" part we are asking for general information cards. I'm not sure how this links to the state+general information card though, but it seems that it does.
Taking it a piece at a time:
Remembering that the context (i.e. _self) of this WQL will be "Clark County, WA+state_general_info_from_county" will be just "Clark County, WA", this:
{"left": "_self", "right": "in state" }
is the same as:
{"left": "Clark County, WA", "right": "in state" }
is the same as:
"Clark County, WA+in state"
Now going one level out:
"left": {"referred_to_by": {"left": "_self", "right": "in state" } }
which given the above, is the same as :
"left": {"referred_to_by": "Clark County, WA+in state" }
which is the same as:
"left": "Washington"
(since the card "Clark County, WA+in state" is a Pointer with just one item, "Washington")
So the whole thing is:
{ "left": {"referred_to_by": {"left": "_self", "right": "in state" } },
"right": "general information" }
which given the above, is the same as:
{"left": "Washington",
"right": "general information"}
i.e.,
"Washington+general information"