In v2.0.5, some of the templates' search forms name the text input box as "query" while others name it "keyword2." I'm not having much luck finding references to what the intended use of the two is. The Yahoo templates seem to use "keyword2" for category template searches (with the optional search only this category), but the category templates in the 'default' template set uses the "query" version.
Lines 43-46 in Search.pm seem relevant:
# If query is set we know we are searching.
defined $args->{'query'} and ($args->{query} =~ /\S/) and return search();
# Otherwise, if we pass in a field name, we can search on that too.
I can't find any reference to "keyword2", but it sounds like it is supposed to be some way of naming a searchable field?
Furthermore, in my limited testing, the "keyword2" doesn't return any search results...
Dan
Lines 43-46 in Search.pm seem relevant:
# If query is set we know we are searching.
defined $args->{'query'} and ($args->{query} =~ /\S/) and return search();
# Otherwise, if we pass in a field name, we can search on that too.
I can't find any reference to "keyword2", but it sounds like it is supposed to be some way of naming a searchable field?
Furthermore, in my limited testing, the "keyword2" doesn't return any search results...
Dan