Changed layer interface for inner view viewlet
authorThierry Florac <thierry.florac@onf.fr>
Tue, 15 Nov 2016 14:14:37 +0100
changeset 18 440aa970ec1d
parent 17 0d6dc6d3b962
child 19 0e4b82b519c7
Changed layer interface for inner view viewlet
src/pyams_ldap/zmi/plugin.py
--- a/src/pyams_ldap/zmi/plugin.py	Tue Nov 15 09:58:25 2016 +0100
+++ b/src/pyams_ldap/zmi/plugin.py	Tue Nov 15 14:14:37 2016 +0100
@@ -297,7 +297,7 @@
         super(LDAPPluginSearchView, self).__init__(context, request)
 
 
-@adapter_config(context=(ILDAPPlugin, IAdminLayer, LDAPPluginSearchView), provides=IPageHeader)
+@adapter_config(context=(ILDAPPlugin, IPyAMSLayer, LDAPPluginSearchView), provides=IPageHeader)
 class LDAPPluginSearchViewHeaderAdapter(DefaultPageHeaderAdapter):
     """LDAP users folder search view header adapter"""