There seems to be a bug when I combine non-ascii characters, quotes and the OR operator when searching.
All of these queries work ok:
- "pølser"
- "pålegg"
- pølser OR pålegg
- "egg" OR "spekemat"
but
- "pølser" OR "pålegg"
always returns no result.
The search form uses roughly this code:
{% set searchTerm = craft.request.getParam('search') %}
{% set entries = craft.entries %}
... entries is optionally limited to a single section here, but it makes no difference here ...
{% set entries = entries.search(searchTerm) %}
Any ideas?
Cheers!
(cross-posted from google+ group as I only just found out about the stack-exchange)
(edit to add code sample)
ElementCriteriaModel
? Would you mind adding an example code snippet for context?