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

Filters to be drop downs

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.

Hey,

I'd like to use Tableon on my custom post type and want the filters to be drop-downs. Can you please advise?

https://tinyurl.com/2khdnhkk

Thanks

Hello

These fields must be taxonomies.

Hey Pablo,

On my site, those filters are ACF custom fields. Can you please advise if I can make those filters to be drop-downs/ <select> tags?

Hello

Unfortunately the plugin does not have this feature (for meta fields).

Hey,

I am working around this and finding a hook to add custom columns with the filter drop-down:

ext_tableon_default_tables

But this plugin JS does not allow the option value to be text so the filter won't work.

I found the JS code which handles this: wp-content/plugins/posts-table-filterable/assets/js/filter.js line 98:

let values = Array.from(elem.querySelectorAll('option:checked')).map(el => Number(el.value));

Just removed the Number function and it works:

let values = Array.from(elem.querySelectorAll('option:checked')).map(el => (el.value));

Also in line 86, removed"parseInt".

So can you please take a look at this and update the JS code in the next release? or create a new option for this.

Thanks,

Khanh

 

Hello  Khanh

I passed it on to the developers

Hey Pablo,

Did you consider my suggestion above? My code was overridden after updating this plugin.

Thanks.

Hello  Khanh

The recent update was related to a vulnerability fix and did not include any other code changes.

Your request is still on the list for implementation in the plugin

Thank you for confirming.

Welcome;)