title: How to not change the url on list filtering with react-admin?
body: <p>Assume I have a route /customers where a <a href="https://marmelab.com/react-admin/List.html" rel="nofollow noreferrer">List</a> of <strong>customers</strong> is being rendered. On that same route there's also a <a href="https://material-ui.com/components/drawers/" rel="nofollow noreferrer">side drawer</a> present. That drawer contains a List with a <a href="https://marmelab.com/react-admin/List.html#filters" rel="nofollow noreferrer">Filter</a> of <strong>help topics</strong>.</p>
  
  <p>When I start typing in the Filter in the side drawer, the url changes. That's according to how react-admin's list filter is working.</p>
  
  <p>The problem is that the customers list is noticing the route changes. In effect it starts querying and reloading <strong>customers</strong> based on a search term that is related to <strong>help topics</strong>. No customers found of course.</p>
  
  <p>I want the customer list to not notice I'm filtering on help topics. The solution I'm aiming for is that the list filter in the side drawer will not change the url while I input a help topic search term.</p>
  
  <p>How can I configure or customise the filter in the side drawer to not change the url while typing, but store the current filter value in something like component state instead?</p>
  
  <p>Actually, since the filter lives in a form (by react-final-form), which keeps its own state, I could live with a solution like this. But of course <code>publishToUrl</code> isn't an available prop for Filter.</p>
  
  <pre><code>const MyFilter = props =&gt; (
      &lt;Filter {...props} publishToUrl={false} &gt;
          &lt;TextInput source="title" /&gt;
      &lt;/Filter&gt;
  );
  </code></pre>
  
  <p>Related:</p>
  
  <ul>
  <li><a href="https://github.com/marmelab/react-admin/issues/2519" rel="nofollow noreferrer">https://github.com/marmelab/react-admin/issues/2519</a></li>
  <li><a href="https://github.com/marmelab/react-admin/issues/3521" rel="nofollow noreferrer">https://github.com/marmelab/react-admin/issues/3521</a></li>
  </ul>