feat: add connection control #112
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Deze PR bevat #110 en #111 plus nog de frontend die nodig is naar aanleiding van Simon zijn aanpassingen.
Ik heb het als volgt getest. Mijn yard-query-block config ziet er als volgt uit:
In ACF heb ik twee velden van het type "Bericht object" toegevoegd bij de CPT toolkit. Hierbij is het belangrijk dat je niet de optie "selecteer meerdere" selecteert want dan werkt het niet. De metadata wordt dan namelijk als array opgeslagen en dat moet alleen de post id zijn.

Als je dan vervolgens het content type toolkit bij de berichtenlijst selecteert, dan krijg je daar 2 opties om op connectie te filteren.
