summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pfwbged/folder/folder.py2
-rw-r--r--src/pfwbged/folder/profiles/default/types/pfwbgedfolder.xml9
2 files changed, 7 insertions, 4 deletions
diff --git a/src/pfwbged/folder/folder.py b/src/pfwbged/folder/folder.py
index cdcc975..0cbad53 100644
--- a/src/pfwbged/folder/folder.py
+++ b/src/pfwbged/folder/folder.py
@@ -140,7 +140,7 @@ class Folder(Container):
uuids.append(IUUID(document))
portal_catalog = api.portal.get_tool('portal_catalog')
- return portal_catalog.searchResults({'UID': uuids})
+ return portal_catalog.searchResults({'UID': uuids}, sort_on='sortable_title')
def child_folders(self):
return [IContentListingObject(x) for x in self.child_folders_brains()]
diff --git a/src/pfwbged/folder/profiles/default/types/pfwbgedfolder.xml b/src/pfwbged/folder/profiles/default/types/pfwbgedfolder.xml
index 74b0e9e..45146e9 100644
--- a/src/pfwbged/folder/profiles/default/types/pfwbgedfolder.xml
+++ b/src/pfwbged/folder/profiles/default/types/pfwbgedfolder.xml
@@ -24,7 +24,7 @@
<!-- Contained Types -->
<property name="filter_content_types">True</property>
- <property name="allowed_content_types" purge="False">
+ <property name="allowed_content_types" purge="True">
<element value="pfwbgedcollection"/>
<element value="pfwbgedfolder"/>
<element value="pfwbgedlink"/>
@@ -36,8 +36,11 @@
<element value="pfwb.invoice"/>
<element value="pfwb.noteforboard"/>
<element value="pfwb.boardminutes"/>
- <element value="pfwb.apfincomingmail"/>
- <element value="pfwb.apfoutgoingmail"/>
+ <element value="pfwb.memorandum"/>
+ <element value="pfwb.notice"/>
+ <element value="pfwb.informationnote"/>
+ <element value="pfwb.copnote"/>
+ <element value="pfwb.copminutes"/>
<!--
<element value="pfwb.pressrelease"/>
<element value="pfwb.greenboarddecision"/>