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
#645 Fix previews in load_more #650
Conversation
@@ -250,14 +250,19 @@ def load_more(request, category_slug, offset=0, limit=0, sorting=0, tags=None): | |||
products = paginated_page.object_list | |||
view = request.session.get('view_type', 'tile') | |||
|
|||
products_to_filter = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems products
and products_to_filter
are the same. How will exactly it help and what is the difference between them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@artemiy312 , products list has been sliced. That's why it can't be arg to context.
I'll append comment
Closes #645