Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

Fix for gathering keys from nested fields #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jegra
Copy link

@jegra jegra commented Jan 20, 2022

This addresses an issue found when a Flexible Content field is nested inside a Repeater. The image thumbnails are missed in this scenario, resulting in blank cards for the various Flexible Content options.

It will apply the following changes :

  • a check for 'repeater' field types in the retrieve_flexible_keys_from_fields method
  • a recursive call to retrieve_flexible_keys_from_fields if a 'repeater' field is encountered

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant