summaryrefslogtreecommitdiff
path: root/saleor/product/filters.py
AgeCommit message (Collapse)Author
2017-10-06Rename private methods in ProductFiltermichal
2017-10-06Review changesmichal
Change everything from last review.
2017-10-06Add DEFAULT_SORT to filtersmichal
Add DEFAULT_SORT to product.filters.py for easy change of default sorting on the category page.
2017-10-06Refactor sort_menu.pymichal
Refactor sort_menu.py.
2017-10-05Fix sort_bymichal
Fis sort_by to have translated labels.
2017-10-05Made sorting menu dynamicdominik-zeglen
2017-10-05Fix importsmichal
2017-10-05Fix performancemichal
Delete some duplicated queries in product.filter.py. Products_with_availability now runs only for products on current page. Add products_paginated to context. Update template.
2017-10-04Final touchmichal
- Refactor category_index in product.views. - Translat and refactored choices for _sort_by.html. - Delete unused class in _sort_by.html.
2017-10-04Refactor filters and viewmichal
Extracted methods in ProductFilter.__init__. Changed variables in view.category_index. Update and rename tests.
2017-10-03Change sort_by popupmichal
Add dynamically created sort_by popup. Add templatetag sort_by.py. Add template _sort_by.html. Delete product_attributes_filter_form.
2017-10-02Rename standard_formmichal
Rename standard_form to product_attributes_filter_form.
2017-10-02Add standard_form to ProductFiltermichal
Add standard_form property to ProductFilter which returns only filters generated in __init__(). Change template to use standard_form and correctly render price filter.
2017-09-28Add import for unicode_literalsmichal
Add missing imports for unicode_literals.
2017-09-28Refactor filtersmichal
Refactor some code in product.filters.py, product.views.py, and in templates.
2017-09-27Add testsmichal
Add tests for product/filters.py.
2017-09-27Add sort by to filtersmichal
Add sort by to filters and template.
2017-09-27Change filters ordermichal
Change filters to be ordered by name. Use product_with_details in category_index view.
2017-09-27Fix filtersmichal
Fix filters for product.attributtes and product.variants.
2017-09-27Change ProductFiltermichal
Change building product_attributes and variant_attributes to correct one.
2017-09-27Fix params in get_attributes_choicesmichal
2017-09-27Refactor filtersmichal
Refactor filters and views.
2017-09-27Add filtersmichal
Add filter for price. Add filters for product/variant attributes - not working properly. Add some template updates.
2017-09-27Add filtersmichal
Add dynamically created filters for variant and product attributes.