Closed joaoluis-pdm closed 2 years ago
@joaoluis-pdm I created a component to perform the filtering. Currently the filter options are "hardcoded". These options should come from a get request, so instead of using the "lforms routes/requests" these need to be implemented
@pccosta-pdm Seems to work! Good! Please merge to master so that we can continue to work on the other pull-downs (Condition, Location, Travel Distance, etc...)
Next steps (pick your favorite :-)
Some conditions have long names...
added travel distance when location is provided. and some responsive features to filter options. some other changes: the filter is now controlled by the page controller, instead of inside the component.
Seems good enough. Let's close the issue for now, and wait for user's feedback.
Technical Meeting 2021-09-14:
At the "Browse Trials" filter, the location pull-down should show the same options as in the "Find a trial" / Where are you located question:
The list of locations comes from https://ctr2-dev.pharmaledger.pdmfc.com/borest/lforms/locations
PS: For now I accept something similar to https://github.com/PharmaLedger-IMI/ctr-workspace/commit/74158e4b117f50614c78e93e8cfb04e95217e18d
added location options provided by the web service.
For now lets assume that this issue is ok (good enough).
Notes;
But all of these notes are a bit of of scope. So I consider this issue reviewed and closed.
Thank you @pccosta-pdm !
Desired screen for "BROWSE TRIALS"
Current v0.7.3: