Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new fetch function #6

Conversation

ernestob
Copy link
Member

@ernestob ernestob commented Mar 6, 2018

This fetch function retrieves the related objects matching specific meta data.

Usage example:

{def $illustrations = fetch( 'mugoobjectrelations', 'filtered_relations', hash(
    'attribute', $node.data_map.media,
    'filter_by', hash( 'extra_fields', hash( 'meta_data_1', 'illustration' ) ),
) )}

@ernestob ernestob self-assigned this Mar 6, 2018
@ernestob ernestob requested a review from pkamps March 6, 2018 20:57
Copy link
Member

@pkamps pkamps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. This pull request has originally been created in context of the CSM project. It's running in production there.

@pkamps pkamps merged commit 0867129 into mugoweb:master Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants