From 6d7afda5b23bf9bfdef28065f75d1482133eec1b Mon Sep 17 00:00:00 2001 From: Jim Allman Date: Tue, 21 May 2024 13:51:55 -0400 Subject: [PATCH] FIX typo in collections metadata NB - This will also require a sweep of the collections in phylesystem, to correct the stored property name and clear up any collections that have both `ot:studyPublicationReferenc` and `ot:studyPublicationReference` properties. --- curator/static/js/curation-helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curator/static/js/curation-helpers.js b/curator/static/js/curation-helpers.js index ffba7688..811fa0b6 100644 --- a/curator/static/js/curation-helpers.js +++ b/curator/static/js/curation-helpers.js @@ -1393,7 +1393,7 @@ function updateCollectionTrees ( collection ) { decision['name'] = proposedName; decision['ot:focalCladeOTTTaxonName'] = proposedClade; decision['ot:studyPublication'] = proposedPubURL; - decision['ot:studyPublicationReferenc'] = proposedFullRef; + decision['ot:studyPublicationReference'] = proposedFullRef; decision['compactRefText'] = compactStudyRef; decision['ot:studyYear'] = proposedYear; // Highlight this in the list, mark as MODIFIED