mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 02:36:00 +00:00
SYNC: fixed all search column settings for alternative grids #1118
This commit is contained in:
committed by
Diflow
parent
e85f43beb1
commit
28439c010f
@@ -101,9 +101,10 @@ export class CollectionGridDisplay extends GridDisplay {
|
||||
setCache: ChangeCacheFunc,
|
||||
loadedRows,
|
||||
changeSet,
|
||||
readOnly = false
|
||||
readOnly = false,
|
||||
currentSettings = null
|
||||
) {
|
||||
super(config, setConfig, cache, setCache, driver);
|
||||
super(config, setConfig, cache, setCache, driver, undefined, undefined, currentSettings);
|
||||
const changedDocs = _.compact(changeSet.updates.map(chs => chs.document));
|
||||
const insertedDocs = _.compact(changeSet.inserts.map(chs => chs.fields));
|
||||
this.columns = analyseCollectionDisplayColumns([...(loadedRows || []), ...changedDocs, ...insertedDocs], this);
|
||||
|
||||
Reference in New Issue
Block a user