aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Harley2018-04-23 17:27:48 +0100
committerTom Harley2018-04-23 17:27:48 +0100
commit1ce96661d2ee4eb9b32a055a34402c499182bfe8 (patch)
treed544524556686019e5449fb6bf056d39ce88d81f /src
parentSame as below, but for the end (diff)
downloadmedicine-1ce96661d2ee4eb9b32a055a34402c499182bfe8.tar.gz
medicine-1ce96661d2ee4eb9b32a055a34402c499182bfe8.zip

Include header row as first row in tabular view

Diffstat (limited to 'src')
-rw-r--r--src/files.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/files.ts b/src/files.ts
index 7e2955c..24a1dbf 100644
--- a/src/files.ts
+++ b/src/files.ts
@@ -347,6 +347,7 @@ export const views: {
from: query.rowstart,
to: rowTo
})).pipe(stringify({
+ header: true
}));
},
getResponseFunction: (req: Request, res: Response): Function | null => {