Fixing filtering for dash, and view of API data