Searching metadata fields

Hi there,


I have set up a search with the following fields:

Content type - Metadata field

Include all - Text field



AND/OR grouping is set to "Match on ALL fields".



The source for "Content type" is a metadata field with a select list. Options include "Form", "Policy", "Manual", etc.



I've created the initial search page with a field for "Content type", a field for "Include all", and a submit button. The resulting page has a drop-down list with all the options from the "Content type" metadata field, an emtpy form field and a submit button.



When I use the select list to select "Forms" and then put a search term in the field, I expect to get ONLY things that have a value of "Form" in the "Content type" field AND matches for the search term. However, instead I get anything at all from the root asset down that has the search term in it. The search logic doesn't seem to be applying the "Content type" variable.



The following is part of the query string:


    search?queries_content_type_query_posted=1&queries_content_type_query=Form&queries_all_fields_query=p-card&current_result_page=0&results_per_page=0&submitted_search_category=&mode=


So I can see that the "Content type" of "Form" has been passed in the query, but the results aren't right.

What am I doing wrong???