mirror of https://gitee.com/bigwinds/arangodb
minor fixes in gharial and ahuacatl
This commit is contained in:
parent
b0722d9981
commit
267c8ba451
|
@ -47,7 +47,7 @@
|
|||
if (testee === undefined) {
|
||||
return deflt || false;
|
||||
}
|
||||
return testee.toLowerCase() === "true";
|
||||
return testee.toLowerCase() === "true" || testee === "1";
|
||||
},
|
||||
buildError = function(err, code) {
|
||||
return {
|
||||
|
|
|
@ -4773,6 +4773,9 @@ function FILTER_RESTRICTION (list, restrictionList) {
|
|||
|
||||
function DOCUMENTS_BY_EXAMPLE (collectionList, example) {
|
||||
var res = [];
|
||||
if (example === "null") {
|
||||
example = [{}];
|
||||
}
|
||||
if (!example) {
|
||||
example = [{}];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue