jariarkko / psgeo

Activity location library
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

There's a bug in RerunFilters() #305

Closed ralfstrandell closed 1 year ago

ralfstrandell commented 1 year ago

displayRangeCategoryFilterInSingleActivityMode=false breaks function RerunFilters() because there are no checked checkboxes. No site matches and StatsPane shows zero sites. In this case, all ranges of the metric must be included, i.e. no "length filter".

ralfstrandell commented 1 year ago

Two blocks of code in psgeoRerunFilters() had to be wrapped in ifs to disable length etc filtering in this specific case.