Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCH: ability to filter Related Posts by multiple Sections #2681

Open
danielabloch opened this issue Jul 31, 2024 · 1 comment
Open

PCH: ability to filter Related Posts by multiple Sections #2681

danielabloch opened this issue Jul 31, 2024 · 1 comment

Comments

@danielabloch
Copy link

danielabloch commented Jul 31, 2024

Is your feature request related to a problem?

Customers often use multiple sections, or more specifically a section and a sub-section, to organize their content online. The Related Posts filter for Section limits users to selecting one Section when they would like to select multiple.

filter-by-section

Describe the solution you'd like

When using the Related Posts filter for Section, allow users to select multiple sections at once to inform the filter. I believe an OR logic would be helpful here versus AND; that is, as a user, I can filter my results by Health OR News Health versus limiting it to Health AND News Health.

Describe alternatives you've considered

An alternative would be offering another filter by option that is Sub Section, but I believe that would be more cumbersome in terms of usability and would not allow a customer to choose multiple sections.

@acicovic
Copy link
Collaborator

acicovic commented Aug 7, 2024

Per the docs, it seems that we can already specify multiple section params:

image

I assume this will work for subsections, for example passing ?section=section&section=subsection? Docs say that this is possible for tag and author, but they don't mention section specifically.

Noting that in the plugin we use WordPress categories to fill the drop-down, and that we are unaware of what's defined as a subsection in Parse.ly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants