bi_sql_editor: add support for group operators

this commit allows specifying the group operator for each field. This functionality was originally included in a seperate module "bi_sql_editor_aggregate" in version 12.
This commit is contained in:
David James
2021-06-07 16:07:38 +10:00
parent ebd77c9399
commit 53dc46e058
6 changed files with 66 additions and 1 deletions

View File

@@ -149,6 +149,11 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<field name="name" />
<field name="sql_type" />
<field name="field_description" />
<field
name='group_operator'
attrs="{
'invisible': ['!', ('ttype', 'in', ('float', 'integer'))]}"
/>
<field
name="ttype"
attrs="{