mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Using the new logic after using generateViewSchema(...) function for
generating schema properly for the collection for rendering the grid.
This commit is contained in:
@@ -619,8 +619,8 @@
|
||||
}
|
||||
|
||||
// Prepare columns for backgrid
|
||||
_.each(groups, function(fields, key) {
|
||||
_.each(fields, function(f) {
|
||||
_.each(groups, function(group, key) {
|
||||
_.each(group.fields, function(f) {
|
||||
if (!f.cell) {
|
||||
return;
|
||||
}
|
||||
@@ -630,7 +630,7 @@
|
||||
columns.push(f);
|
||||
}
|
||||
});
|
||||
schema.push({label: key, fields: fields});
|
||||
schema.push(group);
|
||||
});
|
||||
return {
|
||||
'columns': _.sortBy(columns, function(c) {
|
||||
|
||||
Reference in New Issue
Block a user