I'm using Super Search (2.1.2) as a channel:entries replacement. I'm finding that super_search_total_results is wrong when I use search: parameters. A stripped down example:
{exp:super_search:results
channel="files"
search:files_area="=schedules"
search:files_type="not digital"
}
I should have 5 results, but super_search_total_results give me a result of 8, which is the count of all items in the files channel, including the digital items. I am seeing only five files (which is right), but the total results result is incorrect.
If I use a query string instead:
search&files_area=schedules&files_type=-digital
I get 5 items showing and the correct count of 5. I don't always want to put a monstrous query string in the URL if I don't have to, because I don't want someone trying to manipulate it. Also, I don't think I can do an "if empty OR a specific value" in the query string like I can do with this (and will need to do on this site as well):
search:files_company="IS_EMPTY|{member_company}"
Is there something I'm missing as far as getting the correct total results count when using those search: parameters?
For anyone coming here with the same issue: I downvoted the initial answer because it doesn't actually answer the question(s).
I just found this comment in mod.super_search.php on line 1261 (SS v2.1.2):
// If someone uses the search:body="something" template param, the counts
can be thrown off. This conditional is a patch that will catch some of the cases.
Someone there knows about using the "search:" parameter style, and knows that the counts can be off. I don't think the patch is working, obviously.