DatafieldTable: fix grouping error on PostgreSQL

fixes #2310
This commit is contained in:
Thomas Gelf 2021-08-16 05:36:10 +02:00
parent f87eff8a21
commit 093abfd733
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ next (will be 1.9.0)
### User Interface
* FIX: allow switching DB config while connection is failing (#2300)
* FIX: Links to duplicate services in Sets didn't check for deactivation (#2323)
* FIX: SQL error for Data Fields table on PostgreSQL (#2310)
* FEATURE: show "deprecated" flag on object attribute inspection (#2312)
* FEATURE: Service Template for single Host services provides auto-completion (#1974)

View File

@ -85,7 +85,7 @@ class DatafieldTable extends ZfQueryBasedTable
['used_vars' => $db->select()->union($varsQueries, ZfDbSelect::SQL_UNION_ALL)],
'used_vars.varname = df.varname',
[]
)->group('df.id')->group('df.varname')->order('caption ASC');
)->group('df.id')->group('df.varname')->group('dfc.category_name')->order('caption ASC');
}
/**