Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
erp5
Commits
ffdce686
Commit
ffdce686
authored
Jun 09, 2011
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only return document portal types.
parent
94ca0c01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_getOtherVersionDocumentList.xml
...l_skins/erp5_dms/Document_getOtherVersionDocumentList.xml
+1
-0
bt5/erp5_dms/bt/revision
bt5/erp5_dms/bt/revision
+1
-1
No files found.
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_getOtherVersionDocumentList.xml
View file @
ffdce686
...
...
@@ -64,6 +64,7 @@ if kw[\'reference\'] is None:\n
# we can not find other "verions" of this document as it doesn\'t have a reference\n
return []\n
kw[\'uid\'] = \'!=%s\' %document.getUid()\n
kw[\'portal_type\'] = context.getPortalDocumentTypeList()\n
return portal.portal_catalog(**kw)\n
</string>
</value>
</item>
...
...
bt5/erp5_dms/bt/revision
View file @
ffdce686
1252
\ No newline at end of file
1253
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment