Ä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-94f89814c4dfmaster
parent
e15d1c45da
commit
a1ef617947
|
|
@ -65,7 +65,7 @@ public class PersonalPublications implements ContentGenerator {
|
||||||
} else {
|
} else {
|
||||||
final Map<String, List<String>> groupsConfig = getGroupsConfig();
|
final Map<String, List<String>> groupsConfig = getGroupsConfig();
|
||||||
final Map<String, List<PublicationBundle>> publicationsByGroup =
|
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()) {
|
for (Map.Entry<String, List<String>> entry : groupsConfig.entrySet()) {
|
||||||
filterPublicationsByGroup(entry.getKey(),
|
filterPublicationsByGroup(entry.getKey(),
|
||||||
|
|
|
||||||
|
|
@ -70,10 +70,10 @@ public class PersonalPublicationsConfig extends AbstractConfig {
|
||||||
"com.arsdigita.cms.publicpersonalprofile.publications.groups",
|
"com.arsdigita.cms.publicpersonalprofile.publications.groups",
|
||||||
Parameter.REQUIRED,
|
Parameter.REQUIRED,
|
||||||
"monographs:com.arsdigita.cms.contenttypes.Monograph;"
|
"monographs:com.arsdigita.cms.contenttypes.Monograph;"
|
||||||
|
+ "collectedVolumes:com.arsdigita.cms.contenttypes.CollectedVolume;"
|
||||||
+ "collectedVolumeArticles:com.arsdigita.cms.contenttypes.ArticleInCollectedVolume;"
|
+ "collectedVolumeArticles:com.arsdigita.cms.contenttypes.ArticleInCollectedVolume;"
|
||||||
+ "journalArticlesReviewed:com.arsdigita.cms.contenttypes.ArticleInJournal_reviewed;"
|
+ "journalArticlesReviewed:com.arsdigita.cms.contenttypes.ArticleInJournal_reviewed;"
|
||||||
+ "journalArticles:com.arsdigita.cms.contenttypes.ArticleInJournal_notreviewed;"
|
+ "journalArticles:com.arsdigita.cms.contenttypes.ArticleInJournal_notreviewed");
|
||||||
+ "collectedVolumes:com.arsdigita.cms.contenttypes.CollectedVolume");
|
|
||||||
|
|
||||||
groupSplit = new IntegerParameter(
|
groupSplit = new IntegerParameter(
|
||||||
"com.arsdigita.cms.publicpersonlprofile.publications.groupSplit",
|
"com.arsdigita.cms.publicpersonlprofile.publications.groupSplit",
|
||||||
|
|
@ -124,4 +124,5 @@ public class PersonalPublicationsConfig extends AbstractConfig {
|
||||||
public final String getOrder() {
|
public final String getOrder() {
|
||||||
return (String) get(order);
|
return (String) get(order);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue