Filtered request to API when the user changes the filters

* '$' is not defined.