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

Charging wrong images in the display view #103

Closed
numeroteca opened this issue Mar 16, 2013 · 0 comments
Closed

Charging wrong images in the display view #103

numeroteca opened this issue Mar 16, 2013 · 0 comments

Comments

@numeroteca
Copy link
Member

Each row dedicated to one newspaper contains front pages from all the newspaper in the thread. It does display the number of days that the thread has, but wrong images.
All the rows contain the same 'wrong' images, but they link to the appropriate 'coding' page.

The loop at https://github.com/numeroteca/pageonex/blob/master/app/views/coding/display.html.erb#L130-L151 charges the photos not having in account the media in the iteration of @images[ic].local_path

The former solution used <% if @images[ic].media == m %> to allow only images that belonged to that media.

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

No branches or pull requests

1 participant