check if filters are not equal before refetching

This commit is contained in:
Deep Tailor 2020-01-05 20:56:53 -08:00
parent 322cd94be7
commit 03829af2ad

View File

@ -377,7 +377,7 @@ define([
* @public
*/
updateFiltersAndRefresh: function (updatedFilters) {
if (this.filters) {
if (this.filters && !_.isEqual(this.filters, updatedFilters)) {
this.filters = updatedFilters;
this.reset();
if (this.unsubscribe) {