I'm using AngularJS to display a dashboard, and using Javascript to generate a way to save and load the filters the user selects.
The dashboard allows the user to use a quick filter to filter values. I also have a separate filter selection created with javascript. I'm finding that interacting with both the quick filters and loading the filters via javascript is causing issues with syncing. JS does not always update the quick filter with the filtered values.
The typical workflow is as follows:
I'm not sure what's causing this issues, as I'm having trouble figuring out how best to debug this code.
Any suggestions/insights would be appreciated.
This may be resolved by first clearing the filters before applying a new filter set.
Though I'm noticing a difference in the 'field name' value that is used. For Clearing filters, it seems the field used is the user friendly name that shows up in the Layout window.
For applying filters, the field name that is used is the field name that appears in the 'edit filter...' dialog. This was a bit confusing at first.
I'll update this post if needed.