mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
This commit is contained in:
commit
22bd5740ee
|
@ -159,7 +159,7 @@
|
|||
"count": this.getPageSize()
|
||||
};
|
||||
|
||||
query = "FOR x in @@collection";
|
||||
query = "FOR x in @@collection let att = slice(ATTRIBUTES(x), 0, 10)";
|
||||
query += this.setFiltersForQuery(bindVars);
|
||||
// Sort result, only useful for a small number of docs
|
||||
if (this.getTotal() < this.MAX_SORT) {
|
||||
|
@ -173,14 +173,14 @@
|
|||
}
|
||||
|
||||
if (bindVars.count !== 'all') {
|
||||
query += " LIMIT @offset, @count RETURN x";
|
||||
query += " LIMIT @offset, @count RETURN keep(x, att)";
|
||||
}
|
||||
else {
|
||||
tmp = {
|
||||
"@collection": this.collectionID
|
||||
};
|
||||
bindVars = tmp;
|
||||
query += " RETURN x";
|
||||
query += " RETURN keep(x, att)";
|
||||
}
|
||||
|
||||
queryObj = {
|
||||
|
|
|
@ -106,7 +106,20 @@
|
|||
visibility: [true, false],
|
||||
labels: ["datetime", "Major Page", "Minor Page"],
|
||||
div: "pageFaultsChart",
|
||||
labelsKMG2: false
|
||||
labelsKMG2: false,
|
||||
axes: {
|
||||
y: {
|
||||
valueFormatter: function (y) {
|
||||
return parseFloat(y.toPrecision(3));
|
||||
},
|
||||
axisLabelFormatter: function (y) {
|
||||
if (y === 0) {
|
||||
return 0;
|
||||
}
|
||||
return parseFloat(y.toPrecision(3));
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
systemUserTime: {
|
||||
|
|
Loading…
Reference in New Issue