Browse Source

Merge pull request #7616 from nocodb/nc-fix/context-menu-sort

Nc fix: sort from field context menu
pull/7622/head
Mert E 7 months ago committed by GitHub
parent
commit
25c683f1f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      packages/nocodb/src/cache/CacheMgr.ts

7
packages/nocodb/src/cache/CacheMgr.ts vendored

@ -349,9 +349,10 @@ export default abstract class CacheMgr {
// timestamp for list
const timestamp = Date.now();
// fetch existing list
const listOfGetKeys =
(await this.get(listKey, CacheGetType.TYPE_ARRAY)) || [];
// remove existing list
await this.deepDel(listKey, CacheDelDirection.PARENT_TO_CHILD);
const listOfGetKeys = [];
for (const o of list) {
// construct key for Get
let getKey = `${this.prefix}:${scope}:${o.id}`;

Loading…
Cancel
Save