Making WordPress.org

Opened 8 years ago

Closed 8 years ago

#2623 closed defect (bug) (fixed)

When searching a handbook, only search the handbook

Reported by: johnbillion's profile johnbillion Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Handbooks Keywords: needs-patch ux-feedback
Cc:

Description

Handbooks show a search field above their Chapters menu. When searching from this field, one would assume that it searches the handbook, when in fact it searches the whole site and often returns irrelevant results such as a blog posts.

This search field should only search the handbook post type. Its form action URL should probably be changed to something like home_url('handbook').

Attachments (1)

Screen Shot 2017-03-28 at 20.47.27.png (36.1 KB) - added by johnbillion 8 years ago.

Download all attachments as: .zip

Change History (3)

#1 @coffee2code
8 years ago

  • Owner set to coffee2code
  • Status changed from new to accepted

#2 @coffee2code
8 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 5237:

Breathe: Constrain handbook searches to handbook pages.

Introduces searchform.php template.

Fixes #2623.

Note: See TracTickets for help on using tickets.