Commit 8891bb30 authored by Bartek Górny's avatar Bartek Górny

initialize content_type (since data property sheet is not usable yet)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10552 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 62bb685c
...@@ -162,6 +162,9 @@ class DMSFile(XMLObject,File): ...@@ -162,6 +162,9 @@ class DMSFile(XMLObject,File):
searchable_attrs=('title','description','id','reference','version', searchable_attrs=('title','description','id','reference','version',
'short_title','keywords','subject','source_reference','source_project_title') 'short_title','keywords','subject','source_reference','source_project_title')
# XXX a hack-around untill JPS's Data property sheets stops to break thins :)
content_type='application/unknown'
### Content indexing methods ### Content indexing methods
security.declareProtected(Permissions.View, 'getSearchableText') security.declareProtected(Permissions.View, 'getSearchableText')
def getSearchableText(self, md=None): def getSearchableText(self, md=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment