Moving to 2.0.7: Random sort order in datasources
This is an open discussion with 5 replies, filed under General.
Search
This should be raised as a bug report since this essentially breaks backwards compatibility. The DS editor should recognise both for legacy DSs, and save as the new ‘random’ when re-saved.
Does this commit address it?
No, unfortunately not. I will post this as a new issue.
I posted the bug here.
I think this commit should take care of it.
This is just another hint for anybody who moves a website to 2.0.7: While random sort order in your old datasources will work for the datasource itself (because internal renaming from “rand” to “random” has been made rather backward compatible), it won’t be recognized in the datasource editor. So if you re-save such a datasource, be sure to select “random” manually. You may as well edit your datasource file. Around line 8 you will find:
which must be
to be recognized by the datasource editor.