Pass `i` to queries triggered onSuccess

I am calling a query from a ListView. I am using i to tell the query which data to use:

However i is not passed on to the Success queries:

image

qryProductsSelect returns no results because is does not know i.

My workaround is to put both SQL queries into a JS query and trigger them with additionalScope

Hey @bradlymathews!

I think this is the best workaround we have at the moment, though maybe others have ideas? There are a couple of feature requests open that might make this easier though and I can report back here when they've been included. Thanks for surfacing the behavior :slightly_smiling_face: