From 32aed2cfe31376a5c151f283916def9cf24363b2 Mon Sep 17 00:00:00 2001 From: Alexander Watzinger Date: Wed, 20 Sep 2023 12:36:03 +0200 Subject: [PATCH] Fix for preceding event buttons (#2069) --- config/default.py | 2 +- install/upgrade/upgrade.md | 3 +++ openatlas/forms/base_manager.py | 2 +- openatlas/views/changelog.py | 3 +++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/default.py b/config/default.py index 501d2f758..114544a3d 100644 --- a/config/default.py +++ b/config/default.py @@ -3,7 +3,7 @@ from config.database_versions import DATABASE_VERSIONS -VERSION = '7.16.0' +VERSION = '7.16.1' DATABASE_VERSION = DATABASE_VERSIONS[0] DEMO_MODE = False # If activated some options are disabled, login is prefilled diff --git a/install/upgrade/upgrade.md b/install/upgrade/upgrade.md index 1cbeb552c..eeb706b7e 100644 --- a/install/upgrade/upgrade.md +++ b/install/upgrade/upgrade.md @@ -19,6 +19,9 @@ then run the database upgrade script, then restart Apache: sudo python3 install/upgrade/database_upgrade.py sudo service apache2 restart +### 7.16.0 to 7.16.1 +A code base update (e.g. with git pull) and a webserver restart is sufficient. + ### 7.15.0 to 7.16.0 7.16.0.sql is needed but will be taken care of by the database upgrade script. diff --git a/openatlas/forms/base_manager.py b/openatlas/forms/base_manager.py index dd8e98c8e..97f339a46 100644 --- a/openatlas/forms/base_manager.py +++ b/openatlas/forms/base_manager.py @@ -399,7 +399,7 @@ def additional_fields(self) -> dict[str, Any]: add_dynamic=[ 'activity', 'acquisition', - 'modification' + 'modification', 'move', 'production'], related_tables=['event']) diff --git a/openatlas/views/changelog.py b/openatlas/views/changelog.py index 1a80f425c..bad573a80 100644 --- a/openatlas/views/changelog.py +++ b/openatlas/views/changelog.py @@ -15,6 +15,9 @@ def index_changelog() -> str: versions = { + '7.16.1': ['2023-09-20', { + 'fix': { + '2069': 'Broken buttons for preceding event'}}], '7.16.0': ['2023-09-09', { 'feature': { '2022': 'Additional database export option (dump)',