Fixing an issue with group by views.
This commit is contained in:
parent
45a63fe8c3
commit
852ecd840c
|
@ -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) {
|
||||||
|
|
|
@ -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")
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue