Approaching this point we have some doubts about how to find the fields you want to sort the results based of facet selected.
We understand you want to set different sort option on different facet selection.
For example selecting Documents the UI shows the way to sort result by A, B, C fields, and selecting Experts the UI shows the way to sort result by D, E, F fields.
We are imaging that this type of dynamism could be performed using metadata coming from SOLR endpoint.
As the UI read metadata to build different filter dropdown (Provider, Keyword, Contributor for Documents, etc...), we are thinking we can read something else to implement the sorting.
@arnounesco @jmckenna @pbuttigieg @Lucy-Scott @fils
Approaching this point we have some doubts about how to find the fields you want to sort the results based of facet selected. We understand you want to set different sort option on different facet selection.
For example selecting Documents the UI shows the way to sort result by A, B, C fields, and selecting Experts the UI shows the way to sort result by D, E, F fields.
We are imaging that this type of dynamism could be performed using metadata coming from SOLR endpoint. As the UI read metadata to build different filter dropdown (Provider, Keyword, Contributor for Documents, etc...), we are thinking we can read something else to implement the sorting.