1
0
Fork 0

updated documentation

This commit is contained in:
Jan Steemann 2014-01-10 18:37:41 +01:00
parent 0ae9a69c6a
commit 7d11d1b172
2 changed files with 5 additions and 7 deletions

View File

@ -108,6 +108,10 @@ v1.5.x (XXXX-XX-XX)
v1.4.5 (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

View File

@ -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<string>::const_iterator i = ids.begin(); i != ids.end(); ++i) {
// collection names do not need to be JSON-escaped