Commit 9d09c4e1 authored by Fabien Morin's avatar Fabien Morin

* use state instead of state_list in ERP5EGov_Extensions

* enable Accelerated HTTP Cache Manager even for non annonymous

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23406 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0133444e
......@@ -80,6 +80,8 @@ def getPortalTypeWorklistDictForWorkflow(self, workflow_list):
local_role_list=worklist.guard.roles
if state is None:
continue
else:
state=state[0]
result = self.getPortalObject().portal_catalog(\
portal_type=portal_type,
......@@ -100,7 +102,7 @@ def getPortalTypeWorklistDictForWorkflow(self, workflow_list):
result_dict['formated_name']=worklist.actbox_name
result_dict['formated_url']=worklist.actbox_url
result_dict['formated_url']='Base_viewSearchResultList?validation_state=%s&local_roles=%s&reset=1&portal_type=%s'\
% (state[0], local_role_list[0], portal_type)
% (state, local_role_list[0], portal_type)
result_dict['category']=worklist.actbox_category
result_dict.update(worklist.guard.__dict__)
return portal_type_worklist_dict
......
......@@ -25,7 +25,7 @@
<dictionary>
<item>
<key> <string>anonymous_only</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>interval</string> </key>
......
244
\ No newline at end of file
248
\ 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