@saltcorn/server 0.9.3-beta.7 → 0.9.3-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/load_plugins.js CHANGED
@@ -46,6 +46,7 @@ const staticDependencies = {
46
46
  "@saltcorn/data/models/expression": require("@saltcorn/data/models/expression"),
47
47
  "@saltcorn/data/models/workflow": require("@saltcorn/data/models/workflow"),
48
48
  imapflow: require("imapflow"),
49
+ "node-fetch": require("node-fetch"),
49
50
  };
50
51
 
51
52
  /**
package/locales/en.json CHANGED
@@ -1337,5 +1337,6 @@
1337
1337
  "Destination page group": "Destination page group",
1338
1338
  "Your page groups": "Your page groups",
1339
1339
  "A group has pages with an eligible formula. When you request a group, then the first page where the formula matches gets served. This way, you can choose a page depending on the screen of the device.": "A group has pages with an eligible formula. When you request a group, then the first page where the formula matches gets served. This way, you can choose a page depending on the screen of the device.",
1340
- "Create page group": "Create page group"
1341
- }
1340
+ "Create page group": "Create page group",
1341
+ "Page groups": "Page groups"
1342
+ }
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@saltcorn/server",
3
- "version": "0.9.3-beta.7",
3
+ "version": "0.9.3-beta.8",
4
4
  "description": "Server app for Saltcorn, open-source no-code platform",
5
5
  "homepage": "https://saltcorn.com",
6
6
  "main": "index.js",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
9
  "@aws-sdk/client-s3": "^3.451.0",
10
- "@saltcorn/base-plugin": "0.9.3-beta.7",
11
- "@saltcorn/builder": "0.9.3-beta.7",
12
- "@saltcorn/data": "0.9.3-beta.7",
13
- "@saltcorn/admin-models": "0.9.3-beta.7",
14
- "@saltcorn/filemanager": "0.9.3-beta.7",
15
- "@saltcorn/markup": "0.9.3-beta.7",
16
- "@saltcorn/sbadmin2": "0.9.3-beta.7",
10
+ "@saltcorn/base-plugin": "0.9.3-beta.8",
11
+ "@saltcorn/builder": "0.9.3-beta.8",
12
+ "@saltcorn/data": "0.9.3-beta.8",
13
+ "@saltcorn/admin-models": "0.9.3-beta.8",
14
+ "@saltcorn/filemanager": "0.9.3-beta.8",
15
+ "@saltcorn/markup": "0.9.3-beta.8",
16
+ "@saltcorn/sbadmin2": "0.9.3-beta.8",
17
17
  "@socket.io/cluster-adapter": "^0.2.1",
18
18
  "@socket.io/sticky": "^1.0.1",
19
19
  "adm-zip": "0.5.10",
@@ -304,6 +304,7 @@ var relationHelpers = (() => {
304
304
  const sourceTbl = this.tableNameCache[sourceTblName];
305
305
  if (!sourceTbl)
306
306
  throw new Error(`The table ${sourceTblName} does not exist`);
307
+ if (sourceTbl.id === subViewObj.table_id) result.push(`.${sourceTblName}`);
307
308
  const searcher = (current, path, level, visited) => {
308
309
  if (level > this.maxDepth) return;
309
310
  const visitedFkCopy = new Set(visited);
@@ -407,7 +407,7 @@ function get_form_record(e_in, select_labels) {
407
407
  const rec = {};
408
408
 
409
409
  const e = e_in.viewname
410
- ? $(`form[data-viewname=${e_in.viewname}]`)
410
+ ? $(`form[data-viewname="${e_in.viewname}"]`)
411
411
  : e_in.closest(".form-namespace");
412
412
 
413
413
  const form = $(e).closest("form");