By default, a library shows its items in a flatten view. This patch further adds an option that allows users to show items grouped in their own folders as well.