Commit aaccb23f authored by Nicolas Delaby's avatar Nicolas Delaby

This should be included in http://svn.erp5.org?rev=34880&view=rev

sorry


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34891 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 741020f3
...@@ -749,7 +749,7 @@ class Document(PermanentURLMixIn, XMLObject, UrlMixIn, CachedConvertableMixin, S ...@@ -749,7 +749,7 @@ class Document(PermanentURLMixIn, XMLObject, UrlMixIn, CachedConvertableMixin, S
kw = dict(reference=self.getReference(), sort_on=(('version','descending'),)) kw = dict(reference=self.getReference(), sort_on=(('version','descending'),))
if language is not None: if language is not None:
kw['language'] = language kw['language'] = language
res = catalog(**kw) result_list = catalog(**kw)
original_language = self.getOriginalLanguage() original_language = self.getOriginalLanguage()
user_language = self.Localizer.get_selected_language() user_language = self.Localizer.get_selected_language()
......
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