-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Describe your problem.
When searching for disease, the Beacon service receives a request also with other parameters.
For example, if I search for Orphacode 2593, the portal sends the following request:
{
"meta": {"apiVersion": "v0.2"},
"query": {
"filters": [{
"id": ["ordo:Orphanet_2593"]
}, {
"id": "NCIT_C28421", "operator": "=", "value": ["NCIT_C16576", "NCIT_C20197", "NCIT_C124294", "NCIT_C17998"]
}, {
"id": "NCIT_C83164", "operator": ">=", "value": "0"
}, {
"id": "NCIT_C83164", "operator": "<=", "value": "100"
}, {
"id": "NCIT_C124353", "operator": ">=", "value": "0"
}, {
"id": "NCIT_C124353", "operator": "<=", "value": "100"
}, {
"id": "NCIT_C156420", "operator": ">=", "value": "0"
}, {
"id": "NCIT_C156420", "operator": "<=", "value": "100"
}]
}
}
This is counterintuitive and most of all may lead to wrong results or no results
If it is a bug name steps to reproduce
This bug doesn't show anything wrong in the frontend except for no resu
Steps to reproduce the behavior:
- Go to https://vp.ejprarediseases.org/discovery
- Add an orphacode in the "Search" text box
- The query sent to beacons contains also the other filters (ResourceTypes, Sex, Country etccc)
If it is a bug complete the following information:
- Version: [Production]
- OS: [Linux]
- Browser: [Chrome]
Describe the solution you'd like
I'd like the Portal to send only the filters used by the user
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels