Skip Navigation

[Resolved] Parent child filter stopped working in search archive

This support ticket is created 6 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Author
Posts
#1125158

I am trying to:

I have post relationship Book->Book_Chapter. I created a search archive more than an year ago and added Book ancestor filter, where a user can select a book and search within the book. The search archive was working good, but after a recent update it stopped working. The same archive is working correctly for Book_Chapter Archives.

I didn't notice that after which update this search archive stopped working, until a user complained about this problem.

Currently search archive is returning results from all books regardless of book selection.

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:

#1125331

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Khurram,

Thank you for contacting our support forum.

I see from your debug information that you are using version 3.1 of Types. Did you perhaps migrate to the new relationship form ?

Also would you mind providing me with admin access to the site so that I can check on this for you ? Please let me know which archive is having the issue .

Thanks,
Shane

#1127459

Hi Shane,

Yes I migrated to new relationships. I am on localhost site. The parent child filter is working perfectly on other views, but not working on search archive with custom search.

Regards,
Khurram

#1127581

Hi, Shane is on public holiday and will return tomorrow to continue assisting you. Thanks for your patience.

#1128443

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Khurram,

I would need a copy of the site in order to investigate to see why its not working.

To provide a copy please follow the instructions in the link below.
https://toolset.com/faq/provide-supporters-copy-site/

Thanks,
Shane