Closed Autio closed 4 years ago
@Autio isn't this what we are talking about here? https://portal.mwater.co/#/datagrids/1adf121aea1a49d586653178923e39a2
The rows are from a survey roster matrix from this survey https://portal.mwater.co/#/forms/e9a6b313432d4875b3c60652f7e0f5a5/responses
That datagrid uses the roster as the data source. What they want is to start from the site as the data source and link to the survey even if the site is in the roster matrix. Is that possible?
So for example the survey HH survey_MN.IPE has responses which lists all the water points a household uses. Could I pick water points as a data source, then select the survey as a related survey on the basis of the roster matrix site question link, and build a table or datagrid that way? Don't seem to be able to.
It should be adding the reverse join in FormSchemaBuilder. If it's not working, it's a bug.
Fixed in 49d7980d9511980d13d7520174b04ab2533b33bb. The filter to contain site questions was not detecting site questions in rosters. But this makes really complex queries.
Make roster matrix site questions available in data source selection. From the workplan
This is for LienAid and needs to be done ideally by end of month.