Support

Home Forums Event Espresso Premium Table template filtering not working as expected

Table template filtering not working as expected

Posted: February 5, 2020 at 9:06 pm


ndaniel

February 5, 2020 at 9:06 pm

The following custom table filtering stopped working as expected.
[ESPRESSO_EVENTS_TABLE_TEMPLATE category-slug=monart-classes show_expired=false show_venues=false category_filter=false table_paging=false table_search=false]

Events that are not part of the category-slug are being displayed.
Thoughts?
Thanks,
Bill


Tony

  • Support Staff

February 6, 2020 at 5:10 am

Hi Bill,

I tried to take a look at the events on your site but WordFence blocks requests from the UK.

Can you temporarily disable that restriction so I can take a look?


ndaniel

February 6, 2020 at 9:56 am

Hi Tony,
I’ve opened the firewall to allow UK traffic.
Thanks,
Bill


Tony

  • Support Staff

February 10, 2020 at 5:47 am

Thank you.

So which table am I looking at and which events should not be showing on that table?

Something that stands out is in your opening post you have category-slug

However, the correct attribute is category_slug

https://eventespresso.com/wiki/events-table-view-template-add-on/#usage

Which means its essentially the same as not having one set at all if the above shortcode is correct.


ndaniel

February 11, 2020 at 8:09 am

Thanks Tony – that was a typo made during some troubleshooting. I’ve corrected that. The filtering by category_slug is not working. I’ll update after walking through more debugging per our other support thread for the admin filtering.


ndaniel

February 25, 2020 at 7:05 pm

Hi Tony, I wanted to follow up on this as well. There was a hidden character in the event filter. An odd “^A” that didn’t show inside the page editor. I’m not sure how it was entered. It didn’t show when text was highlighted but when I copied/pasted the full short code string into a text editor it showed up.
This issue is resolved.
Regards,
Bill


Tony

  • Support Staff

February 26, 2020 at 2:28 am

Hi Bill,

Thanks for the update, I’m glad you found the problem.

That’s something we’ve seen before when users copy the shortcodes into a word processor such as MS Word before then copying them onto the site, I’m not sure if that’s the cause of the above but something to be aware of.

The support post ‘Table template filtering not working as expected’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso