Description: When switching from SQL view to Design view in the Query editor it took no notice of brackets. Steps to Reproduce: 1.Click on Create Query in SQL View 2.Create query as oer attached SQLView document. 3.Click on Switch Design View on off 4.Query is presented as in the attached DesignViewActual screen shot Actual Results: See screen shot- DesignViewActual Expected Results: See screen shot- DesignViewExpected Reproducible: Always User Profile Reset: No Additional Info: Followed the intention of the SQL by interpreting the brackets
Created attachment 162155 [details] Original Query in SQL View
Created attachment 162156 [details] Query generated in Design View
Created attachment 162157 [details] Query I was expecting to find in Design View
Pleas add an example database for the query created in SQL-view and changed in GUI-Mode to see the difference. What you espect couldn't be the same as the plain text expressed: SELECT * FROM "Table1" WHERE ( ("FieldA" = :AskA OR "FieldA" IS NULL) AND ("FieldB" = :AskB AND "FieldB" IS NULL) ) Inside the first brackets I see 'OR', inside the second brackets I see 'AND'. What you expect is the content with 'OR' in both brackets. ... and this was content of https://bugs.documentfoundation.org/show_bug.cgi?id=133997
Isn't this a DUP of bug 133997, now closed ?
Think this bug could be closed as a duplicate. The feature-request for this is bug 134049. *** This bug has been marked as a duplicate of bug 133997 ***