From 5286c636bb263eb88c6b086bb4f29f71e1bd9ced Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Thu, 10 Jan 2013 16:31:24 +0100 Subject: [PATCH] make db.collection.document(_key) work in arangosh --- js/client/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client/client.js b/js/client/client.js index 5062072367..f089a5691d 100755 --- a/js/client/client.js +++ b/js/client/client.js @@ -1644,7 +1644,7 @@ function ArangoCollection (database, data) { } if (rev === null) { - requestResult = this._database._connection.GET(this._documenturl(id)); + requestResult = this._database._connection.GET(this._documenturl(this._name + "/" + id)); } else { requestResult = this._database._connection.GET(this._documenturl(id),