From f0471d5da63c54c1bb1faeae74165fdff56f74e2 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Fri, 15 Jun 2018 20:44:41 +0200
Subject: [PATCH] Recorrect missing bibjson key for DOAJ

---
 journals/forms.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/journals/forms.py b/journals/forms.py
index 30b3479d5..feb6323a7 100644
--- a/journals/forms.py
+++ b/journals/forms.py
@@ -188,7 +188,7 @@ class CreateMetadataDOAJForm(forms.ModelForm):
             }
         }
         if publication.in_issue:
-            md['journal'] = {
+            md['bibjson']['journal'] = {
                 'publisher': 'SciPost',
                 'volume': str(publication.in_issue.in_volume.number),
                 'number': str(publication.in_issue.number),
@@ -210,7 +210,7 @@ class CreateMetadataDOAJForm(forms.ModelForm):
                 'title': publication.in_issue.in_volume.in_journal.get_name_display(),
             }
         else:
-            md['journal'] = {
+            md['bibjson']['journal'] = {
                 'publisher': 'SciPost',
                 'start_page': publication.get_paper_nr(),
                 'identifier': [{
-- 
GitLab