WordPress.org

Ready to get started?Download WordPress

Forums

WP SlimStat
[resolved] Feature request: Regex in "Show records where…" filters (3 posts)

  1. carbeck
    Member
    Posted 1 year ago #

    What it says on the label.

    I think it might be useful to at least combine several values for "Show records where…" filters, e.g. to exclude multiple country codes from a view without disabling logging for those countries entirely, e.g. "Show records where [Country Code] [is not equal to] [(US|GB|AU)]". The way it currently is, you can only define one such value at a time, so you can exclude either "US", or "GB" or "AU", but not all three of them. Or did I overlook something in the documentation?

    http://wordpress.org/extend/plugins/wp-slimstat/

  2. camu
    Member
    Plugin Author

    Posted 1 year ago #

    You are correct, that's a limitation of the current filtering system. I am actually planning to add an option that allows you to enable 'advanced filters' which are basically RAW SQL expressions to be passed in the WHERE clause to the API. Dropdowns will be replaced (when the option is enabled) by a simple text field where you can type whatever you want ;) Would that be helpful?

  3. camu
    Member
    Plugin Author

    Posted 1 year ago #

    Marking as resolved, since this feature is being added to version 3.0 :) Hopefully it will make you change your mind on the vote you gave to SlimStat...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.