It always reset the current page index to 1 because
this.query !== this.$.nxResource.params.query
always evaluate to true since this.query is an empty string and this.$.nxResource.params.query is undefined.
It always reset the current page index to 1 because
this.query !== this.$.nxResource.params.query
always evaluate to true since this.query is an empty string and this.$.nxResource.params.query is undefined.