Skip to content

Commit 9cb0013

Browse files
MrTangojensens
andauthored
Update docs/backend/indexing.md
Co-authored-by: Jens W. Klein <[email protected]>
1 parent beece81 commit 9cb0013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/backend/indexing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ from zope.component import adapts
134134
from zope.interface import implementer
135135

136136
@implementer(IDexterityTextIndexFieldConverter)
137+
@adapter(IDexterityContent, IMyFancyField, IWidget)
137138
class CustomFieldConverter(DefaultDexterityTextIndexFieldConverter):
138-
adapts(IDexterityContent, IMyFancyField, IWidget)
139139

140140
def convert(self):
141141
# implement your custom converter

0 commit comments

Comments
 (0)