This is the first thing i’ve tried… But it needs to directly set value to filters.col1 in order to the queryParams and refreshModel to work propertly… the queryParams doesn’t observes the child properties… I’ve even gave a try with the .notifyPropertyChange method to force notify queryParams that the filter property did changed, but no luck in that. =(
Currently i’m running a loop in the filters property in the route model hook and assigning it to the params object…
With that, all filters properties began to be sent, but model doesn’t refresh, and the URL params are not updated… To auto-refresh the model, i’m currently updating a “filter.update” static property with a random number alongside with the other filters, just to get the queryParams and refreshModel to update the model. (refresh() and update() methods lead to some inconvenient side-effects for me).
I let this issue in stand-by to solve other bugs, but when i get this one back, i will run a loop in the filters property and build a HASH, and then update a “filter.hash” property, propertly observed by the queryParams… But my component will need to manually decrypt the hash, build selected filters in the component and set all the filters from de hash…
Yeah… it’s very far from a good solution, but at least i’m pretty confident this approach will work fine.
Any update in the issue i let you guys know.