ag-computational-bio / bakrep-web

The user interface for bakrep
1 stars 0 forks source link

Browse page does not show all datasets #62

Closed lukasjelonek closed 8 months ago

lukasjelonek commented 10 months ago

The browse page only shows 640,090 datasets. A search with an empty query shows 661,405 datasets.

lukasjelonek commented 10 months ago

It seems as if the browse page always sends a full query with the values from the filter block. Increasing the values for max contigs, max genome size and max contamination increases the found datasets, but it does not reach the 661,405 datasets from the search.

I see two ways to handle this:

  1. Obtain the min/max values for each field and see if all datasets are retrieved
  2. Build the search incrementally when the user enters some values, e.g.
    • when he does not enter anything, an empty query is send,
    • when he modifies the gc range, only the gc query is send
    • when he modifies multiple fields, only these fields are part of the query
crsct commented 8 months ago

this should be fixed when #74 closes, if it doesnt, please let me know.