Title: Filter problem with tables
Last modified: August 20, 2016

---

# Filter problem with tables

 *  Resolved [loveshack](https://wordpress.org/support/users/loveshack/)
 * (@loveshack)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/filter-problem-with-tables/)
 * Hi Tobias,
 * Has there been a change in the filter logic on the new version?
 * I have a lot of pages using a filter like
 * <p>[table id=497 hide_columns=”3,4,5″ filter=”ANNIE LENNOX&&SING” /]</p>
 * Which used to work fine as I understood the filter had to be the complete text
   in a cell.
 * Unfortunately as this is a discography, the filter above now also presnets every
   record that has the word sing in it, which is the entire list, as they all contain
   the word single.
 * Here’s the page
 * [http://www.eurythmics.me.uk/discography-annie-lennox-singles-sing/](http://www.eurythmics.me.uk/discography-annie-lennox-singles-sing/)
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/filter-problem-with-tables/#post-3455029)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * You are right, the current version of the Filtering Extension does no longer 
   do exact cell matching as the default (I changed the default value for this setting,
   after too many users had problems with it — as they expected just the opposite).
 * To restore the original behavior, you could either add another parameter to your
   Shortcode:
 *     ```
       [table id=497 hide_columns="3,4,5" filter="ANNIE LENNOX&&SING" filter_full_cell_match=true/]
       ```
   
 * or simply change the default value in the Extension again. You’ll just have to
   change the line
 *     ```
       $default_atts['filter_full_cell_match'] = false;
       ```
   
 * to
 *     ```
       $default_atts['filter_full_cell_match'] = true;
       ```
   
 * Another note: Your Shortcode should NOT be wrapped in HTML `<p>` tags, as that
   can influence the styling. Instead, the Shortcode should stand on its own line,
   with an empty line immediately before and after it. (The best way to see this
   is to use the “Text” editor and not the “Visual editor”).
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Filter problem with tables’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/filter-problem-with-tables/#post-3455029)
 * Status: resolved