Forgot your password?
Forgot your username?
This version reintroduces the random sort option for the module (_list and _items layouts ) and the component.
Using the 'rand()' function of mysql to sort is very expensive therefor the component uses different algorithms to achieve some randomness.
for both the component and the module, sorting random is actually a sort on the table field 'id' this 'id' is a md5 hash and a sort on this value gives a more or less random list of items.
For the component this list is static, it might change after a new import.
For the module the list will change, using :
, and the display should be a different set of random items on each page display.
please be aware that even running this pseudo random is still relative slow for large databases
Please Log in to join the conversation.