I created a search block that was configured to search only one content type. I disabled all other content types from the results too. The block was displayed on a Views page listing that content type. When I did a search, the results page listed content from all node types and the URL was http://mysite.com/search/apachesolr_search/cloud?filters=type:video (cloud was the search term). If I change type:video to bundle:video, the expected results are shown.

CommentFileSizeAuthor
custom_search-type-key-fix.patch689 bytesdavemybes

Comments

davemybes’s picture

Status: Active » Needs review

Forgot to switch status.

jdanthinne’s picture

I've just pushed changes to DEV version, and replaced type: by bundle.
Please test and review (DEV will be available tomorrow), or use this patch : http://drupalcode.org/project/custom_search.git/patch/c5e8bd6.

simon georges’s picture

Status: Needs review » Fixed

More than one year without any answer... let's consider it fixed.
Please re-open if you still encounter the issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.