Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Post Meta OR option?

Viewing 10 posts - 1 through 10 (of 12 total)
  • Trevor Moderator
    #49134

    I think that I might need to see the form setup.

    Jon Watson
    #49159
    This reply has been marked as private.
    Trevor Moderator
    #49165

    OK

    I have the logins. What behavior am I expecting to see or not see? Step me through an example fail?

    Jon Watson
    #49184

    Okay!

    So, if you look at the current search page: http://devvy.site/search/ you can see it’s returning a nice list of all my posts, for all my various post types.

    However, I want it to exclude posts marked as “archived” using the above meta_query.

    If you go into Search & Filter settings for my “Search Archive” form and add back my arguments (as above), it breaks the search page and returns no results.

    The behaviour I’d expect is for it to return all the posts EXCEPT “This is a test post” (at the bottom), which is currently the only marked as archived.

    Yell if that doesn’t make sense!

    Jon Watson
    #49291

    Has this one been escalated to Ross?

    Trevor Moderator
    #49311

    No, I got a bit swamped with threads today (hence I am still working at nearly midnight). I will look at this with fresh eyes in the morning.

    Jon Watson
    #49317

    Awww. No worries, Trevor! Thanks 🙂

    Trevor Moderator
    #50145

    Jon

    This one escaped me, does it still need my action? I spoke to Ross and currently the way the logic works what you want can’t work. In effect, what you need is a way of testing is a field value has NOT been set or is empty. At least, that’s what Ross and I read into what you asked for. If we are right, this will need to go into feature requests and join that long line of features to be added.

    Jon Watson
    #50310

    It does, unfortunately.

    Yeah, that’s right. I need a way of displaying posts with a certain meta value OR that don’t have that meta field.

    So that’s not what the current args are setup for? There IS a no exists option, I’d assumed that this was what it was for.

    That’s really disappointing.

    I’ll add it to the feature request list, but my client isn’t going to be happy that it doesn’t do what we thought it did.

    Thanks anyway, Trevor.

Viewing 10 posts - 1 through 10 (of 12 total)

The forum ‘Search & Filter Pro’ is closed to new topics and replies.