Updated adapter name
authorThierry Florac <thierry.florac@onf.fr>
Mon, 12 Mar 2018 16:14:50 +0100
changeset 468 cb1fadda86ff
parent 467 0c12a8a5ddad
child 469 66563c8433cf
Updated adapter name
src/pyams_content/reference/zmi/table.py
--- a/src/pyams_content/reference/zmi/table.py	Mon Mar 12 12:16:10 2018 +0100
+++ b/src/pyams_content/reference/zmi/table.py	Mon Mar 12 16:14:50 2018 +0100
@@ -100,7 +100,7 @@
         return self.context.values()
 
 
-@adapter_config(context=(IReferenceTable, IPyAMSLayer, ReferenceTableContentsTable), provides=IColumn)
+@adapter_config(name='trash', context=(IReferenceTable, IPyAMSLayer, ReferenceTableContentsTable), provides=IColumn)
 class ReferenceTableTrashColumn(TrashColumn):
     """Reference table trash column"""