Commit 39dfa51a authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

upgrade to API of cw 3.14 (closes #2746673)

parent 93ccaa9b80c5
......@@ -18,7 +18,7 @@ from cubes.email.emailcites import parse_body
class Email(AnyEntity):
"""customized class for Email entities"""
__regid__ = 'Email'
fetch_attrs, fetch_order = fetch_config(['subject'])
fetch_attrs, cw_fetch_order = fetch_config(['subject'])
def dc_title(self):
return self.subject
......@@ -120,7 +120,7 @@ class EmailPart(AnyEntity):
class EmailThread(AnyEntity):
"""customized class for EmailThread entities"""
__regid__ = 'EmailThread'
fetch_attrs, fetch_order = fetch_config(['title'])
fetch_attrs, cw_fetch_order = fetch_config(['title'])
def dc_title(self):
return self.title
......
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