WordPress / Learn

WordPress.org Learn - The canonical source for the code and content behind https://learn.WordPress.org
274 stars 101 forks source link

Bug report: Filtering Lesson Plans by Topic shows other content types #1569

Open kaitohm opened 1 year ago

kaitohm commented 1 year ago

Description

Filtering Lesson Plans by Topic on https://learn.wordpress.org/lesson-plans/ shows other content types also in results.

Step-by-step reproduction instructions

  1. Go to https://learn.wordpress.org/lesson-plans/
  2. For example, click on Topic > Using Themes
  3. Scroll down to see other content types shown in results, such as the Course Develop Your First Low-Code Block Theme

Expected behaviour

Results would only show Lesson Plans.

jonathanbossenger commented 1 year ago

Testing this during the dev squad triage session of 2023-08-10, it looks like this is because originally Learn WordPress only had lesson plans, and so the assumption was that topics would only be applied to this content type.

Looking at the pages for tutorials and courses, the topic selection page does not appear there, so perhaps it would make more sense to update the link to lesson plans to display the same content as this URL instead. - https://learn.wordpress.org/lesson-plans/?_view=all