You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with site('*') and unique() in a search query, the output contains more or less entries compared to the limit I set – with more than enough entries to limit.
I get 10 entries without site('*') and unique().
I get 6 entries without site('*') and with unique().
I get 12 entries with site('*') and without unique().
Hi, thanks for reaching out! I can’t replicate the query results going over the limit. Any chance you could send your composer.json, composer.lock and database export to [email protected] along with the searchTerm value you were testing this on?
What happened?
Description
When working with
site('*')
andunique()
in a search query, the output contains more or less entries compared to thelimit
I set – with more than enough entries to limit.site('*')
andunique()
.site('*')
and withunique()
.site('*')
and withoutunique()
.Steps to reproduce
limit
valuelength
of the search results with and withoutsite('*')
andunique()
Expected behavior
The
limit
parameter should always limit the query to the exactlimit
value.Actual behavior
The query output is not being limited based on the
limit
value.Craft CMS version
5.5.2
PHP version
8.3
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: