Cartodb: Boolean fields are not showing in dropdown menu from Filter by col. value analysis

Created on 15 Feb 2017  路  7Comments  路  Source: CartoDB/cartodb

Steps to Reproduce

  1. Create map with chicago_crimes dataset.
  2. Add Filter by column value analysis.
  3. "Select" arrest (a boolean column) from the dropdown menu.

Current Result

  • Boolean columns are not showed on the dropdown menu.

bug

Expected result

  • Boolean columns should appear on the dropdown menu.

Browser and version

  • Google Chrome v54.

.carto file

  • Because the map size is too big, you can download a sample data from here.
Analysis Frontend bug

Most helpful comment

Deployed

All 7 comments

moving to next since this is part of the filter analysis (which is quite common)

@jorgesancha @noguerol @xavijam PR opened here but the thing is, it won't work until https://github.com/CartoDB/cartodb/issues/10000 it's fixed in engine side. Basically it's the same issue, the tiler returns the whole set of features.

We have the same problem in different projects and is how we treat boolean values.

Issue #10000 is a turbo-carto issue but the one that is blocking Butis is related to camshaft. I'm going to ope an issue there

The analysis is filtering the values properly. But we have, at least in local, some weird behavior painting the values. Funny thing is that the analysis resulting dataset is filtered correctly.

I've been checking and the filtering is working fine. Is there any step to reproduce the case where the analysis is returning the whole set of features @nobuti ? thx

I tried with only two features and it seems to work, but still, there are weirdos with the boolean fields in the form.

  • [x] Validators don't play nice with those fields. @matallo is doing his magic here.
  • [x] If you try to select true and hide combination, it replaces automagically to true and show.
    Anyway, it seems a full frontend issue now.

Deployed

Was this page helpful?
0 / 5 - 0 ratings