• Resolved isleepinabucket

    (@isleepinabucket)


    Hi Tobias

    I am unable to get my table to filter more then one word… for example if i use the following code:
    [table id=1 filter=”word1″ /] the filter will work

    However if i use the code:
    [table id=1 filter=”word1&&word2″ /] the table will not appear at all.

    Both words do exist in the table but they are in different columns if that makes any difference.

    Is this a limitation of the plugin?

    http://wordpress.org/extend/plugins/tablepress/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post.

    Remember that the Filtering Extension only performs “exact cell matching” by default. Thus, filtering for “word1&&word2” would require two columns in a row, one with the exact content “word1” and one with the exact content “word2”.

    Now, I have extended the Filtering Extension with other parameters, a while ago. You can download the latest version at https://github.com/downloads/TobiasBg/TablePress-Extensions/tablepress-row-filter.zip
    This will one perform “word contained matching”, so that your filtering should return results.

    If that does not help, please post a link to the full/unfiltered table, and post the exact Shortcode you are using for filtering.

    Regards,
    Tobias

    Thread Starter isleepinabucket

    (@isleepinabucket)

    Hi Tobias

    Thanks for your response.

    I just figured out what I was doing wrong. I was entering the filter on the visual editor instead of the TEXT editor on my wordpress.

    Thread Starter isleepinabucket

    (@isleepinabucket)

    Sorry to bother again but is there a way to filter the table by checking just one column in the row instead of the entire row?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ah yes, then the Visual editor likely messed with the Shortcode.

    Filtering for just one column is possible with the new version of the Extension. Just specify the columns that shall be searched by adding the parameter

    filter_columns="3-6"

    or

    filter_columns="1,3-5,7"

    and change the numbers of the columns accordingly.

    Regards,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Filtering’ is closed to new replies.