From 221387684e5ae51e70b2695ba37680b3ea6a97d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joa=CC=83o=20Rocha=20da=20Silva?= Date: Tue, 23 Jan 2018 17:00:41 +0000 Subject: [PATCH] Fixed bug creating external repository bookmarks --- src/models/harvesting/external_repository.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/harvesting/external_repository.js b/src/models/harvesting/external_repository.js index 18fa4811..beeef5c2 100644 --- a/src/models/harvesting/external_repository.js +++ b/src/models/harvesting/external_repository.js @@ -84,7 +84,7 @@ ExternalRepository.prototype.getHumanReadableUri = function (callback) if (!isNull(self.dcterms.creator) && !isNull(self.dcterms.title)) { const slug = require("slug"); - callback(null, "/external_repository/" + object.dcterms.creator + "/" + slug(self.dcterms.title)); + callback(null, "/external_repository/" + self.dcterms.creator + "/" + slug(self.dcterms.title)); } else {