All cases list showing in one case for populate_only

Hello Team,

We are using populate_only in our config.php so that only searched account or cases shows in listing view. All works perfect but no in one case.

When we put some filter and search a record. And then when we clear the search filter and click on side bar option “View Cases” then it goes to fetch all the cases with limit 0,10 even when there is no filter added.

Please help to solve this issue.

Steps to reproduce

  1. set ‘save_query’ => ‘populate_only’ in config.php
  2. Repair & rebuild
  3. Go into Cases, It will show you empty page because you need to input some data to search anything.
  4. Search any record
  5. Clear the filter
  6. Click on “View Cases

Thank you