Views search filters, when searching for multiple words, utilize GROUP BY and HAVING statements to determine which results should be returned. (a row is returned for each word match, and the count of matches must be equal to the number of words searched for)
Since the views_random_seed inserts its value as a field, it is included in the GROUP BY statement and no values pass the HAVING statement.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_random_seed-1986490-1.patch | 559 bytes | gapple |
Comments
Comment #1
gappleThe attached patch acts like views' built in random sort handler, by not adding a field and only adding the expression to the ORDER BY clause.
Comment #2
vitaliyb98 commentedHi @gapple,
I tried to reproduce this issue using the latest supported version of the module on Drupal 11, but I was unable to reproduce it.
If the issue still occurs with the latest version of the module, please provide detailed steps to reproduce it.