Using v2.20 unable to create new SQL view of type "SQL query (allows for
variables)" where a variable is specified in place of table field/column
name.
Steps:
1. Create new SQL View of type "SQL query (allows for variables)"
2. use SQL statement: select * from _organisationunitgroupsetstructure where "${column1}" = '${value1}';
3. you cannot save until you replace "${column1}" with something relevant, e.g. "OrgUnitType"
Only once saved can you revert back to your original SQL statement...
** Affects: dhis2
Importance: Undecided
Status: New
Title:
Unable to create NEW sql view (allow variables) with variable in place
of column name
Status in DHIS:
New
Bug description:
Using v2.20 unable to create new SQL view of type "SQL query (allows
for variables)" where a variable is specified in place of table
field/column name.
Steps:
1. Create new SQL View of type "SQL query (allows for variables)"
2. use SQL statement: select * from _organisationunitgroupsetstructure where "${column1}" = '${value1}';
3. you cannot save until you replace "${column1}" with something relevant, e.g. "OrgUnitType"
Only once saved can you revert back to your original SQL statement...
Title:
Unable to create NEW sql view (allow variables) with variable in place
of column name
Status in DHIS:
Confirmed
Bug description:
Using v2.20 unable to create new SQL view of type "SQL query (allows
for variables)" where a variable is specified in place of table
field/column name.
Steps:
1. Create new SQL View of type "SQL query (allows for variables)"
2. use SQL statement: select * from _organisationunitgroupsetstructure where "${column1}" = '${value1}';
3. you cannot save until you replace "${column1}" with something relevant, e.g. "OrgUnitType"
Only once saved can you revert back to your original SQL statement...
Title:
Unable to create NEW sql view (allow variables) with variable in place
of column name
Status in DHIS:
Fix Released
Bug description:
Using v2.20 unable to create new SQL view of type "SQL query (allows
for variables)" where a variable is specified in place of table
field/column name.
Steps:
1. Create new SQL View of type "SQL query (allows for variables)"
2. use SQL statement: select * from _organisationunitgroupsetstructure where "${column1}" = '${value1}';
3. you cannot save until you replace "${column1}" with something relevant, e.g. "OrgUnitType"
Only once saved can you revert back to your original SQL statement...