• Resolved CompactaBT

    (@compactabt)


    This is a great plugin but I’ve come up against a problem.

    I am building a song catalogue – as part of this there are three taxonomies, ‘Sounds Like’, ‘Covered by’ and ‘Inspired By’.

    Each of these taxonomies can contain identical terms – for instance The Beatles.

    Search works as expected when only one of the taxonomies contains the term, but if it’s a term appears in more than one taxonomy, the results show posts for each of the others.

    For instance, a search for songs that ‘Sounds Like’ The Beatles results in this page:

    /?soundslike=the-beatles&coveredby=the-beatles&inspiredby=the-beatles

    When it should just be:

    /?soundslike=the-beatles

    It seems to only pull in results for the remaining taxonomies in the search form – for instance if I don’t select anything in Sounds Like and just search for Covered By, I’ll get this:

    /?coveredby=the-beatles&inspiredby=the-beatles

    Is there a way around this? Thanks in advance!

    https://wordpress.org/plugins/search-filter/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author DesignsAndCode

    (@designsandcode)

    Hey CompactaBT that certainly sounds strange! I never tested it with using identical terms!

    Do you have a link I could look at?

    I’ll do some tests here and create taxonomies with identical terms but I can’t see how it would result in the same behaviour you describe above – odd!

    Thread Starter CompactaBT

    (@compactabt)

    Thanks for the quick reply!

    This is installed locally using MAMP so I can’t give you a link I’m afraid…

    If you come up with anything that’d be much appreciated, and if I manage to fix it or find the bug I’ll let you know!

    Plugin Author DesignsAndCode

    (@designsandcode)

    No worries will try to have a look tomorrow and get back to you 🙂

    Plugin Author DesignsAndCode

    (@designsandcode)

    Hey CompactaBT, still need to look at this, will hopefully do later on today 😉

    Plugin Author DesignsAndCode

    (@designsandcode)

    Hey CompactaBT, I checked this out and it seems to be ok?? Strange…

    Do you have a link I could look at?

    Plugin Author DesignsAndCode

    (@designsandcode)

    Marking as resolved – hope you figured this one out!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Search behaves oddly when taxonomies have identical terms’ is closed to new replies.