molgenis / molgenis-emx2

MOLGENIS EMX2, the latest version of the MOLGENIS data platform.
GNU Lesser General Public License v3.0
14 stars 18 forks source link

poc: Counts for query options #4491

Open connoratrug opened 1 week ago

connoratrug commented 1 week ago

Is your feature request related to a problem? Please describe. When using the ui to filer it would be nice to show the count for each filter option for example: https://www.bol.com/nl/nl/s/?page=1&searchtext=tv&view=list&filter_N=59066&rating=all or https://www.belsimpel.nl/telefoon/apple?minimum_device_price=125&maximum_device_price=500

counts need to be per filer option multiple filters can interact

Describe the solution you'd like a poc at the gql level that show how to submit a query to retrieve the options count

Describe alternatives you've considered not showing counts

Additional context suggest to first only implement for ontology type ( filter)

mswertz commented 3 days ago

duplicate with #304

connoratrug commented 3 days ago

it's only slightly related to https://github.com/molgenis/GCC/issues/304 and explicitly create to describe the missing backend features required for https://github.com/molgenis/GCC/issues/304