Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#14831 closed enhancement (fixed)

Taxonomy is ignored in search query

Reported by: anonymized_5610363's profile anonymized_5610363 Owned by: scribu's profile scribu
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0.1
Component: Query Keywords: search, taxonomy
Focuses: Cc:

Description

It is not possible to make search query in given term.

For example if i do:

query_posts("taxonomy=jazyk&term=sk&s=word');

Then taxonomy and term parameters are ignored and everything containing 'word' is returned.

And it is also same if i type these parameters to url without query_posts.

Change History (6)

#1 @scribu
13 years ago

  • Milestone changed from Awaiting Review to 3.1

Related: #12891

#2 @mikeschinkel
13 years ago

  • Cc mikeschinkel@… added

#3 @scribu
13 years ago

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

#4 @scribu
13 years ago

  • Type changed from defect (bug) to enhancement

Currently, is_search and is_archive are mutually exclusive, for some reason.

#5 @scribu
13 years ago

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

(In [15687]) Allow search in archive pages. Fixes #14831

#6 @scribu
13 years ago

Going to let it soak. Will revert if significant problems appear.

Note: See TracTickets for help on using tickets.