Commit 0f35eee5 authored by Yusei Tahara's avatar Yusei Tahara

Only English term should be displayed in term column in updating field listbox.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19399 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7d62df7d
...@@ -75,6 +75,7 @@ portal_skins = context.portal_skins\n ...@@ -75,6 +75,7 @@ portal_skins = context.portal_skins\n
def get_term_list(business_field, reference):\n def get_term_list(business_field, reference):\n
term_list = portal_catalog(portal_type=\'Glossary Term\',\n term_list = portal_catalog(portal_type=\'Glossary Term\',\n
validation_state=\'validated\',\n validation_state=\'validated\',\n
language=\'en\',\n
business_field=business_field,\n business_field=business_field,\n
reference=reference)\n reference=reference)\n
return [i.getObject() for i in term_list]\n return [i.getObject() for i in term_list]\n
......
201 204
\ No newline at end of file \ No newline at end of file
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