Skip to content
Snippets Groups Projects

FIX: use paging during options generation in edit mode

Merged Henrik tom Wörden requested to merge f-edit-mode-paging into dev
All threads resolved!
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
+ 3
2
@@ -2138,11 +2138,12 @@ var edit_mode = new function () {
if (use_cache && query_cache[str]) {
return query_cache[str];
}
var result;
if (str.toUpperCase().startsWith('COUNT')) {
const res = await connection.get(`Entity/?query=${str}`);
const result = $(res).find('Query').attr('results')
result = $(res).find('Query').attr('results')
} else {
const result = query(str);
result = query(str);
}
if (use_cache) {
query_cache[str] = result;
Loading