diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f2d45f6c..a38363fb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `date` and `modified` degree program REST API properties. - `fau/v1/degree-program/index` REST API endpoint. +### Changed + +- Removed campo keys from degree program revision data. + ## [2.0.1] - 2024-08-07 ### Fixed diff --git a/composer.lock b/composer.lock index 906f19d38..6641c498b 100644 --- a/composer.lock +++ b/composer.lock @@ -411,12 +411,12 @@ "source": { "type": "git", "url": "https://github.com/RRZE-Webteam/FAU-Studium-Common.git", - "reference": "636f84616b29c8bad552d2c6952729f162128c37" + "reference": "2314da111571d795a3f3d3dbe194680737a26e07" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RRZE-Webteam/FAU-Studium-Common/zipball/636f84616b29c8bad552d2c6952729f162128c37", - "reference": "636f84616b29c8bad552d2c6952729f162128c37", + "url": "https://api.github.com/repos/RRZE-Webteam/FAU-Studium-Common/zipball/2314da111571d795a3f3d3dbe194680737a26e07", + "reference": "2314da111571d795a3f3d3dbe194680737a26e07", "shasum": "" }, "require": { @@ -489,7 +489,7 @@ "source": "https://github.com/RRZE-Webteam/FAU-Studium-Common/tree/main", "issues": "https://github.com/RRZE-Webteam/FAU-Studium-Common/issues" }, - "time": "2024-09-04T11:37:53+00:00" + "time": "2024-09-04T13:20:56+00:00" }, { "name": "webmozart/assert", diff --git a/src/Infrastructure/Repository/CacheBasedRevisionRepository.php b/src/Infrastructure/Repository/CacheBasedRevisionRepository.php index c42256c3a..5758f943b 100644 --- a/src/Infrastructure/Repository/CacheBasedRevisionRepository.php +++ b/src/Infrastructure/Repository/CacheBasedRevisionRepository.php @@ -156,7 +156,6 @@ public function findRevision(DegreeProgramId $revisionId): ?DegreeProgramRevisio DegreeProgram::COMBINATIONS => $this->combinationsToContextualIdList($rawRevision->combinations()), DegreeProgram::LIMITED_COMBINATIONS => $this->combinationsToContextualIdList($rawRevision->limitedCombinations()), DegreeProgram::APPLY_NOW_LINK => $this->structureToContextualId($rawRevision->applyNowLink()), - DegreeProgram::CAMPO_KEYS => implode(', ', $rawRevision->campoKeys()->asArray()), ], self::multilingualStringToFlatArray(DegreeProgram::ENTRY_TEXT, $rawRevision->entryText()), );