dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #40970
[Bug 1496820] Re: Unable to create NEW sql view (allow variables) with variable in place of column name
** Changed in: dhis2
Status: Confirmed => Fix Committed
** Changed in: dhis2
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1496820
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...
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1496820/+subscriptions
References