@saltcorn/builder 1.3.0-beta.13 → 1.3.0-beta.15
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltcorn/builder",
|
|
3
|
-
"version": "1.3.0-beta.
|
|
3
|
+
"version": "1.3.0-beta.15",
|
|
4
4
|
"description": "Drag and drop view builder for Saltcorn, open-source no-code platform",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"homepage": "https://saltcorn.com",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@babel/preset-react": "7.24.7",
|
|
21
21
|
"@craftjs/core": "0.1.0-beta.20",
|
|
22
22
|
"@craftjs/utils": "0.1.0-beta.20",
|
|
23
|
-
"@saltcorn/common-code": "1.3.0-beta.
|
|
23
|
+
"@saltcorn/common-code": "1.3.0-beta.15",
|
|
24
24
|
"saltcorn-craft-layers-noeye": "0.1.0-beta.22",
|
|
25
25
|
"@fonticonpicker/react-fonticonpicker": "1.2.0",
|
|
26
26
|
"@fortawesome/fontawesome-svg-core": "1.2.34",
|
|
@@ -132,7 +132,16 @@ export const FormulaTooltip = () => {
|
|
|
132
132
|
))}
|
|
133
133
|
</Fragment>
|
|
134
134
|
) : null}
|
|
135
|
-
|
|
135
|
+
|
|
136
|
+
<div>
|
|
137
|
+
In view formulae, you can use aggregation formulae. The syntax for this is
|
|
138
|
+
<code>{inbound_table}${inboundkey_field}${target_field}${aggrgation}</code>
|
|
139
|
+
The aggregation (which should be lower case) can be ommitted and defaults to
|
|
140
|
+
<code>array_agg</code>. Examples: <code>patients$favbook$id$count</code> or
|
|
141
|
+
<code>patients$favbook$id</code>.
|
|
142
|
+
This is useful if you want a count in a view link label
|
|
143
|
+
without creating a stored calculated field.
|
|
144
|
+
</div>
|
|
136
145
|
<a
|
|
137
146
|
className="d-block"
|
|
138
147
|
href="https://wiki.saltcorn.com/view/ShowPage/formulas"
|