Skip to content

Commit c207b5d

Browse files
authored
Merge pull request #2274 from BEXIS2/2258-Citation
Bringing back previous working code to retrieve citations via api
2 parents ba2ac01 + 868d89d commit c207b5d

File tree

7 files changed

+315
-421
lines changed

7 files changed

+315
-421
lines changed

Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/Controllers/Api/CitationController.cs

Lines changed: 57 additions & 264 deletions
Large diffs are not rendered by default.

Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/Controllers/DataController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ public async Task<ActionResult> GetCitationOrTitle(long Id, long datasetVersionI
474474
return PartialView("_Title", datasetVersion.Title);
475475
}
476476

477-
var model = CitationsHelper.GetCitationDataModel(datasetVersionId);
477+
var model = CitationsHelper.CreateCitationDataModel(datasetVersion);
478478

479479
if (model == null)
480480
return PartialView("_Title", datasetVersion.Title);

Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/Ddm.Settings.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363
"options": [],
6464
"type": "JSON",
6565
"value": {
66-
"publisher": "BEXIS2 DevOps Team",
67-
"instance": "BEXIS2 - DevOps Test",
6866
"numberOfAuthors": 0,
6967
"showCitation": true,
7068
"defaultViewCitationFormat": "Text",

0 commit comments

Comments
 (0)