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

Fixes picture per page in overlay #1475

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Sep 20, 2018

What is this pull request for?

Fixes picture per page value in picture assignment overlay

Notable changes

The cookie that stores the pictures per page value for the picture library must not be used in the overlay.

@tvdeyen tvdeyen added this to the 4.1 milestone Sep 20, 2018
else
cookies[:alchemy_pictures_per_page] = params[:per_page] ||
cookies[:alchemy_pictures_per_page] ||
pictures_per_page_for_size(params[:size])

Choose a reason for hiding this comment

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

Layout/MultilineOperationIndentation: Align the operands of an expression in an assignment spanning multiple lines.

end
else
cookies[:alchemy_pictures_per_page] = params[:per_page] ||
cookies[:alchemy_pictures_per_page] ||

Choose a reason for hiding this comment

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

Layout/MultilineOperationIndentation: Align the operands of an expression in an assignment spanning multiple lines.

@tvdeyen tvdeyen merged commit 282ea8b into AlchemyCMS:master Sep 20, 2018
@tvdeyen tvdeyen deleted the fixes-picture-per-page branch September 20, 2018 10:10
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

Successfully merging this pull request may close these issues.

2 participants