Sort by
The catalogue can be sorted and displayed in variety of ways:
- In Alphabetical order
- By the most recently added items (Latest)
- With Featured Learning items listed first (where Featured Learning has been enabled)
- By Relevance (available after a text search term has been entered)
Sorting when multiple language are enabled
When multiple languages are installed, the sorting dropdown in the catalogue is removed. Instead, sorting is automatically managed, depending on the status of the catalogue. In order of precedence (highest first):
...
The dropdown/alphabetical sorting box can be re-enabled by setting the catalog_enable_alpha_sorting_with_multiple_languages config variable - see config-dist.php for details. Using this option makes sense for sites that predominantly use just one language, or sites that use multiple languages but define separate learning items for each language (e.g. one course for German users, another course for French users) and don't use the "Multi-language Content" filter or a similar filter which can modify the data that users see. Sites that use both EN(US) and EN(GB) (or some similar combination of languages which have a high degree of commonality between them) should enable this setting.
Technical reasoning behind lack of sorting
The reasoning behind this behaviour is that sorting alphabetically with multiple languages doesn't work. We need to do sorting on the database, but applying language filters etc can only be done at the php side. So at best, it would be sorted correctly for all users of the 'primary' language, but would appear in random order for users viewing the data in another language.
...