Commit a40585ff authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

fixes #51 add ark to xslx export (NO import)

parent a0490be8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ def _flatten_resource(
        "collection_pk": None,
        "cascade": "n",
        "title": resource.title,
        "ark (lecture seule)": resource.ark if resource.ark else "",
    }
    metadata_ids = known_metadatas.keys()
    for known_metadata_label in metadatas_labels:
@@ -924,6 +925,7 @@ class Collection(models.Model):
            "collection_pk": self.pk,
            "cascade": "n",
            "title": self.title,
            "ark (lecture seule)": self.ark if self.ark else "",
        }
        metadata_ids = known_metadatas.keys()
        for known_metadata_label in metadatas_labels: