[TYPO3-4-3] Sorting of mounts

Martin Kutschker masi-no at spam-typo3.org
Fri Feb 5 16:38:12 CET 2010


Steffen Kamper schrieb:
> Hi,
> 
> i'm going to fix the sorting of mounts displayed in pagetree/filetree
> for an editor
> 
> Filemounts
> =================
> this is ths actual sorting:
> mounts are displayed for each group as they are assigned to the user.
> 
> should be:
> all accumulated mounts should be sorted alphabetic

symlinks should be resolved and duplicates be removed.

IMHO file mounts within other file mounts should be removed from the list of file mounts. But that
could be a user TS option.

> should be:
> all accumulated mounts should be sorted chronologic, means: latest
> vreated pages should be displayed at the bottom of the list. So the
> order never change when new pages/mounts are added later, they will
> added at the end of the list.

I see the reasoning behind this, that's not always useful. Think of a project where branches are
created at arbitrary time *before* the actual launch. The chronological ordering would be completely
useless (unless you change the timestamp via SQL).

The only non-surprising automatic ordering is alphabetical. But I agree that this is sometimes also
not desired.

I have given thought to that problem last year, but couldn't come up with a reasonable method of
sorting.

Masi


More information about the TYPO3-project-4-3 mailing list