Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1327 closed defect (fixed)

Filters do not work with JSON-built FilteringTables

Reported by: [email protected] Owned by: Tom Trenka
Priority: high Milestone:
Component: Widgets Version: 0.4
Keywords: Cc:
Blocked By: Blocking:


It is not currently possible to perform filtering on a JSON-populated FilteringTable? widget. When the applyFilters() function is run it loops through each row and sends the first rows' data for all subsequent rows instead of the data belonging to each row. As a result, filtering results are incorrect.

Change History (5)

comment:1 Changed 15 years ago by Tom Trenka

Malaney, Would you mind posting a test case that I can use to work against?

comment:2 Changed 15 years ago by Tom Trenka

This is actually wrong, at least as far as my tests have gone; the issue seems to be that a Date in JSON is not a true date but a string, and therefore any filtering on a column that is a Date will not work if the table was populated directly with JSON. Think a nasty hack is in order... :(

comment:3 Changed 15 years ago by Tom Trenka

Version: 0.30.4

comment:4 Changed 15 years ago by Tom Trenka

Resolution: fixed
Status: newclosed

(In [5504]) Fixes #1327 with a hack to cast a date regardless.

comment:5 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.