Download & Extend

Views random seed

Views random seed settings

Adds a random order handler with seed. If a constant integer argument N is specified in the sql RAND() function, it is used as the seed value, which produces a repeatable sequence of column values. This makes it possible to have paging and not having items show up twice.
It's also possible to compute a custom seed using PHP, allowing you to create pseudo randoms numbers based on variables such as the date of the day.

More info:
- MySQL: http://dev.mysql.com/doc/refman/5.0/en/mathematical-functions.html#funct... about RAND() and the optional integer argument.
- PostgreSQL: http://www.postgresql.org/docs/current/interactive/functions-math.html about RANDOM() and the 'select setseed' function.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.2 tar.gz (8.4 KB) | zip (9.59 KB) 2011-Jul-22 Notes
6.x-1.4 tar.gz (8.32 KB) | zip (9.47 KB) 2011-Aug-29 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (8.4 KB) | zip (9.59 KB) 2011-Jul-22 Notes
6.x-1.x-dev tar.gz (8.31 KB) | zip (9.47 KB) 2011-Aug-29 Notes

Project Information


Maintainers for Views random seed

  • swentel - 15 commits
    last: 1 year ago, first: 4 years ago

Issues for Views random seed

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here