I am using EE's Simple Search here to search the Solspace default channel Calendar:Events.
Here is the code
<div class="calendar-search">
<h3>Search Events</h3>
{exp:search:simple_form
channel="calendar_events"
search_in="everywhere"
where="any"
show_future_entries="yes"
show_expired="yes"
results="10"
result_page="calendar/search-results"
no_result_page="search/no-results"
}
<input type="text" name="keywords" id="keywords" value="" size="18" maxlength="100"> <input type="submit" value="Submit" class="search-btn">
{/exp:search:simple_form}
</div>
For most search items this works fine and delivers predictable results. However, there are a couple of things that don't work and I haven't been able to find solutions to the following:
No results for items I know are in the entries. For example, there is an event with the title of Lego Club, but if I do a search for Lego, I get a blank results page.
The No Results page is not being used for items that are not in the channel. For example, if I do a search for Nikon, instead of going to the designated no_result_page it goes to a default EE page that displays the following error:
The action you have requested is invalid.
I am not sure why these errors are occurring or how to fix them, but would appreciate any insights.