From 9b225afe63be48429b17d1053809a83ca2be7eb1 Mon Sep 17 00:00:00 2001 From: MarkLark86 Date: Mon, 4 Nov 2019 11:24:17 +1100 Subject: [PATCH] Set cores to Superdesk v1.30 (#108) * Set cores to Superdesk v1.30 --- package.json | 2 +- server/analytics/stats/gen_archive_statistics.py | 2 +- server/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 31dcbfb7c..eccb57fae 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "lodash": "^4.17.5", "moment-timezone": "^0.5.14", "superdesk-code-style": "^1.2.0", - "superdesk-core": "superdesk/superdesk-client-core#develop", + "superdesk-core": "superdesk/superdesk-client-core#1.30", "angular-embed": "superdesk/angular-embed#d75968e", "angular-embedly": "Urigo/angular-embedly#0.0.8", "jquery": "3.3.1", diff --git a/server/analytics/stats/gen_archive_statistics.py b/server/analytics/stats/gen_archive_statistics.py index 495484186..3be4372bc 100644 --- a/server/analytics/stats/gen_archive_statistics.py +++ b/server/analytics/stats/gen_archive_statistics.py @@ -387,7 +387,7 @@ def set_metadata_updates(self, item, history): item['updates']['firstcreated'] = created for field in fields: - if history['update'].get(field): + if field in history['update']: item['updates'][field] = history['update'][field] def process_timelines(self, items, failed_ids): diff --git a/server/requirements.txt b/server/requirements.txt index 80b071a93..665ce2e3f 100644 --- a/server/requirements.txt +++ b/server/requirements.txt @@ -11,5 +11,5 @@ coveralls httmock>=1.2.3,<1.3 responses>=0.10.6,<0.11 --e git://github.com/superdesk/superdesk-core.git@develop#egg=Superdesk_Core +-e git://github.com/superdesk/superdesk-core.git@1.30#egg=Superdesk_Core git+git://github.com/superdesk/superdesk-planning.git@master#egg=superdesk-planning