diff --git a/CHANGELOG.md b/CHANGELOG.md index 372d7a9145..e98462ce59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ _**For better traceability add the corresponding GitHub issue number in each cha - Added overview of the scheduler tasks in documentation - #706 Created notification classes to support both alert and investigations - #706 Notification controller having the same endpoints as alerts and investigations controllers +- #736 add contractAgreementId as searchable field for /contracts ### Changed - #709 Bumped spring-core from 6.0.17 to 6.1.5 diff --git a/tx-backend/src/main/java/org/eclipse/tractusx/traceability/contracts/application/mapper/ContractFieldMapper.java b/tx-backend/src/main/java/org/eclipse/tractusx/traceability/contracts/application/mapper/ContractFieldMapper.java index b71f93e9cb..25bb7b6509 100644 --- a/tx-backend/src/main/java/org/eclipse/tractusx/traceability/contracts/application/mapper/ContractFieldMapper.java +++ b/tx-backend/src/main/java/org/eclipse/tractusx/traceability/contracts/application/mapper/ContractFieldMapper.java @@ -27,7 +27,8 @@ public class ContractFieldMapper extends BaseRequestFieldMapper { private static final Map SUPPORTED_CONTRACT_FILTER_FIELDS = Map.ofEntries( Map.entry("created", "created"), - Map.entry("id", "id") + Map.entry("id", "id"), + Map.entry("contractId", "contractAgreementId") ); @Override