Fixing an issue with group by views.

This commit is contained in:
mike12345567 2021-04-07 13:08:28 +01:00
parent 78c6abbb62
commit c926206ad7
2 changed files with 1 additions and 6 deletions

View File

@ -216,7 +216,7 @@ exports.fetchView = async function(ctx) {
} }
const response = await db.query(`database/${viewName}`, { const response = await db.query(`database/${viewName}`, {
include_docs: !calculation, include_docs: !calculation,
group, group: !!group,
}) })
if (!calculation) { if (!calculation) {

View File

@ -32,9 +32,4 @@ exports.newAppPublicPath = async appId => {
const destPath = join(path, "budibase-client.js") const destPath = join(path, "budibase-client.js")
await streamUpload(BUCKET_NAME, destPath, fs.createReadStream(sourcepath)) await streamUpload(BUCKET_NAME, destPath, fs.createReadStream(sourcepath))
await streamUpload(
BUCKET_NAME,
destPath + ".map",
fs.createReadStream(sourcepath + ".map")
)
} }