PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Two bugs with the filter.

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi, there are 2 bugs:

1. After I make a filter and then change the number of items shown on a page, the filter gets removed.
2. After I make a filter and have more than 100 items, and I try to go to the next page, the filter gets removed.

Please watch the video below.
https://drive.google.com/file/d/1Yj3ww8Lv-h4z3OyqFBUWJqykhLC6WmlW/view?usp=sharing

Hello
Thank you for the video, it made this quick to identify. Both problems are the same single issue, and it is not about sorting or pagination.
Look at the counter at the bottom of the table in your recording. After filtering it says 226 entries. As soon as you change the page length, and again when you go to page two, it changes to 572 entries, which is your whole catalogue. The filter is not being ignored by the query, it is being lost between requests.
Here is why. The browser sends the filter key with every request, that part works correctly. The filter data itself is kept on the server between AJAX requests, and by default the plugin keeps it in the PHP session. On many hosting configurations sessions are unreliable for AJAX, especially with several requests in a row, and the data is gone by the time the next request arrives. The plugin then finds nothing under the key and falls back to the unfiltered query, which is the 572 you see.
You can switch the storage without editing the plugin. Add this to the functions.php of your active theme:
add_filter( 'woobe_storage_type', function ( $type ) {
    return 'transient';
} );
Then reload the bulk editor page, apply your filter again, and repeat exactly the same test: change the page length, then move to page two. The counter should stay at 226 in both cases.
If the filter still drops after that, it usually means the site runs a persistent object cache, Redis or Memcached, which can evict transients as well. We have a newer build where the storage is kept in a place that survives a cache flush. Place please actual purchase code of the plugin into the private area of the ticket and we will send you that build directly.