Änderung der Default-Reihenfolge für die Publikationsgruppen auf den persönlichen Seiten

git-svn-id: https://svn.libreccm.org/ccm/trunk@1870 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2012-09-23 07:29:10 +00:00
parent e15d1c45da
commit a1ef617947
2 changed files with 4 additions and 3 deletions

View File

@ -65,7 +65,7 @@ public class PersonalPublications implements ContentGenerator {
} else {
final Map<String, List<String>> groupsConfig = getGroupsConfig();
final Map<String, List<PublicationBundle>> publicationsByGroup =
new HashMap<String, List<PublicationBundle>>();
new LinkedHashMap<String, List<PublicationBundle>>();
for (Map.Entry<String, List<String>> entry : groupsConfig.entrySet()) {
filterPublicationsByGroup(entry.getKey(),

View File

@ -70,10 +70,10 @@ public class PersonalPublicationsConfig extends AbstractConfig {
"com.arsdigita.cms.publicpersonalprofile.publications.groups",
Parameter.REQUIRED,
"monographs:com.arsdigita.cms.contenttypes.Monograph;"
+ "collectedVolumes:com.arsdigita.cms.contenttypes.CollectedVolume;"
+ "collectedVolumeArticles:com.arsdigita.cms.contenttypes.ArticleInCollectedVolume;"
+ "journalArticlesReviewed:com.arsdigita.cms.contenttypes.ArticleInJournal_reviewed;"
+ "journalArticles:com.arsdigita.cms.contenttypes.ArticleInJournal_notreviewed;"
+ "collectedVolumes:com.arsdigita.cms.contenttypes.CollectedVolume");
+ "journalArticles:com.arsdigita.cms.contenttypes.ArticleInJournal_notreviewed");
groupSplit = new IntegerParameter(
"com.arsdigita.cms.publicpersonlprofile.publications.groupSplit",
@ -124,4 +124,5 @@ public class PersonalPublicationsConfig extends AbstractConfig {
public final String getOrder() {
return (String) get(order);
}
}