Search with model filter letting in an odd result
Summary: See the details; Eric is getting a weird result from a call to search in the Spirit Island FAQ.
Email from Eric:
I recently realized that the Search page on the Spirit Island FAQ doesn't search Category names.
So I went to the Search page and added
[[_search(query=$query, searchTags=true, searchThings=false, models=<Category>) ->
_foreach(
_searchResultTag -> +$tag
"" * <b>[[$tag]]</b>""
) -> +$results
$results -> _section(""#### Categories"", ""[Search with model filter letting in an odd result](Search-with-model-filter-letting-in-an-odd-result)"")
_if(_isNonEmpty($results), ""
----"")
]]
...which is identical to the search QL for my other tag search, except that it specifies models=<Category> instead of models=<Game Concept, Game Item>.
When I search on "pres", I get three Category hits:
- QL -- Parsing and Running Expressions
- Presence
- Presence and Sacred Sites
The latter two are expected and desired. Why is the first one showing up? (I mean, I realize it matches the string 'pres'. But. :)