Skip to content
Snippets Groups Projects
Commit 228512cb authored by Todd Dembrey's avatar Todd Dembrey
Browse files

ensure that multifile blocks don't return search data

parent 000fff1c
No related branches found
No related tags found
No related merge requests found
...@@ -285,6 +285,9 @@ class MultiFileFieldBlock(FileFieldBlock): ...@@ -285,6 +285,9 @@ class MultiFileFieldBlock(FileFieldBlock):
label = _('Multiple File field') label = _('Multiple File field')
template = 'stream_forms/render_multi_file_field.html' template = 'stream_forms/render_multi_file_field.html'
def get_searchable_content(self, value, data):
return None
class FormFieldsBlock(StreamBlock): class FormFieldsBlock(StreamBlock):
text_markup = RichTextBlock(group=_('Other'), label=_('Paragraph')) text_markup = RichTextBlock(group=_('Other'), label=_('Paragraph'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment