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

render_elements :from_cell => cell, :only => "element_name" ignores given cell #198

Closed
robinboening opened this issue Mar 1, 2012 · 0 comments
Assignees

Comments

@robinboening
Copy link
Contributor

When using render_elements :from_cell => cell
You get elements only from this cell.

But when using render_elements :from_cell => cell combined with the :only => "" option for rendering only elements with that name, the Cell.elements will not be used. Instead Page.elements will be used for getting the elements.

So when using both options, you will always get every element of the Page, not of the cell.

@ghost ghost assigned robinboening Mar 1, 2012
robinboening added a commit that referenced this issue Mar 1, 2012
@tvdeyen tvdeyen closed this as completed Mar 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants