diff --git a/CHANGELOG b/CHANGELOG index c03829e4f5..d9bb54d3a5 100755 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,10 @@ v1.4.5-rc1 (XXXX-XX-XX) ------------------- +* added missing documentation for several methods in HTTP API `/_api/edge/...` + +* fixed typos in HTTP API `_api/document` + * defer evaluation of AQL subqueries and logical operators (lazy evaluation) * Updated font in WebFrontend, it now contains a version that renders properly on windows diff --git a/arangod/RestHandler/RestDocumentHandler.cpp b/arangod/RestHandler/RestDocumentHandler.cpp index 622c07f760..1cbff37b6e 100644 --- a/arangod/RestHandler/RestDocumentHandler.cpp +++ b/arangod/RestHandler/RestDocumentHandler.cpp @@ -687,13 +687,7 @@ bool RestDocumentHandler::readAllDocuments () { string result("{ \"documents\" : [\n"); bool first = true; - string prefix; - if (getCollectionType() == TRI_COL_TYPE_DOCUMENT) { - prefix = '"' + DOCUMENT_PATH + '/' + _resolver.getCollectionName(cid) + '/'; - } - else { - prefix = '"' + EDGE_PATH + '/' + _resolver.getCollectionName(cid) + '/'; - } + string prefix = '"' + DOCUMENT_PATH + '/' + _resolver.getCollectionName(cid) + '/'; for (vector::const_iterator i = ids.begin(); i != ids.end(); ++i) { // collection names do not need to be JSON-escaped