Age Range Filter Not Working in BP Profile Search

BP Profile Search Age Range Filter Not Working in BP Profile Search

  • Author
    Post
  • #12505 Reply
    SB
    Guest

    Hi everyone,

    I’m using the latest version of BP Profile Search and I’ve run into an issue with the Age Range filter.

    In BuddyPress, I’ve created a custom profile field for Date of Birth (type: Date). When users enter their birthdate, it correctly displays their age in their profile as: “You are XX years old.”

    In BP Profile Search, I’ve added the Age Range filter alongside Gender and Location as search criteria. Gender and location filters work perfectly, but the Age Range filter doesn’t return the correct results, no matter what range I choose.

    Is there something I might be doing wrong with the date field or the configuration of the search form?

    Any help or suggestions would be much appreciated.

    Thanks in advance

    #12509 Reply
    andrea
    Plugin Author

    Hi SB,

    The Age Range filter works fine for me, but if you have a test or staging site I can use, I’d be happy to take a look at it.

    If you’re okay with that, you can share your login details privately via my Contact page.

    #12513 Reply
    SB
    Guest

    Thank you very much for your help. We found a way in fixing it ourselves.

    #12515 Reply
    andrea
    Plugin Author

    You’re welcome, I’m glad you solved the problem!

Reply to: Age Range Filter Not Working in BP Profile Search
My Information