diff --git a/uniprot-config/src/main/resources/return-fields-config/uniparc-return-fields.json b/uniprot-config/src/main/resources/return-fields-config/uniparc-return-fields.json index 8c813d64f..6ba141ead 100644 --- a/uniprot-config/src/main/resources/return-fields-config/uniparc-return-fields.json +++ b/uniprot-config/src/main/resources/return-fields-config/uniparc-return-fields.json @@ -128,7 +128,7 @@ "defaultForTsvOrder" : 2, "label": "UniProtKB", "name": "accession", - "paths": ["uniParcCrossReferences[*].properties[?(@.key=='UniProtKB_accession')]"], + "paths": ["uniParcCrossReferences[?(@.database =~ /^UniProtKB.*/)]"], "id": "miscellaneous/accession", "includeInSwagger": true },