Skip to content

Commit 0bab04f

Browse files
committed
#2244 fix db-script
1 parent d3892a4 commit 0bab04f

File tree

3 files changed

+332
-4
lines changed

3 files changed

+332
-4
lines changed

Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/Helpers/DdmSeedDataGenerator.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using System.Collections.Generic;
1010
using System.Linq;
1111
using Vaiona.Web.Mvc.Modularity;
12+
using static System.Net.Mime.MediaTypeNames;
1213

1314
namespace BExIS.Modules.Ddm.UI.Helpers
1415
{
@@ -192,6 +193,12 @@ private void createCitationMappingConcept()
192193
{
193194
using (var conceptManager = new ConceptManager())
194195
{
196+
197+
/*
198+
APA,
199+
RIS,
200+
Text,
201+
Bibtex*/
195202
foreach (CitationFormat value in Enum.GetValues(typeof(CitationFormat)))
196203
{
197204
var keys = new List<MappingKey>();
@@ -261,7 +268,7 @@ private void createCitationMappingConcept()
261268
if (!keys.Any(k => k.Name.Equals("data/authorNames")))
262269
authors = conceptManager.CreateMappingKey("AuthorNames", "", "", false, true, "data/authorNames", concept);
263270

264-
if (!keys.Any(k => k.Name.Equals("data/authorNames/authorName")))
271+
if (!keys.Any(k => k.Name.Equals("data/authorNames/authorname")))
265272
conceptManager.CreateMappingKey("AuthorName", "", "", false, false, "data/authorNames/authorName", concept, authors);
266273
}
267274
}

0 commit comments

Comments
 (0)