RCFilters UI: Compare states instead of params when switching URL
authorMoriel Schottlender <moriel@gmail.com>
Fri, 26 May 2017 20:45:09 +0000 (23:45 +0300)
committerMoriel Schottlender <moriel@gmail.com>
Sun, 28 May 2017 19:24:11 +0000 (22:24 +0300)
commit0269c30e686ab646cdb19b5eb82294710c42e818
treec445a4652a9409fc93b0dd57655f859904f953af
parent2dea830ecce09c2de5f5186fd667e607ad9da7b5
RCFilters UI: Compare states instead of params when switching URL

For empty url (initial load) and for cases where the URL is
minimized (upcoming) the method should check filter states
to recognize whether there's a difference between current and
requested URL.

Bug: T166347
Change-Id: I9dcc82ce7dbc0ad7c6cf3169cee7269234c95298
resources/src/mediawiki.rcfilters/mw.rcfilters.Controller.js