Fixed
Details
Priority
MinorAssignee
Dmitry AndrejevDmitry AndrejevReporter
AlexAlexDeveloper
Dmitry AndrejevDmitry AndrejevChange Log Group
AddedChange Log Message
Added support for custom filters in Products List.Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
External issue ID
1126External issue URL
Story Points
3Fix versions
Details
Details
Priority
Assignee
Dmitry Andrejev
Dmitry AndrejevReporter
Alex
AlexDeveloper
Dmitry Andrejev
Dmitry AndrejevChange Log Group
Added
Change Log Message
Added support for custom filters in Products List.
Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
External issue ID
1126
External issue URL
Story Points
3
Fix versions
Created September 27, 2011 at 11:31 AM
Updated December 30, 2024 at 2:23 AM
Resolved July 25, 2012 at 10:31 AM
Create a separate section where all possible filters are listed (product fields) + populate “product options” periodically (optional)
Custom filter - create method, that will have product field on input. Method will use list object and replace SELECT part to given field, COUNT and group by that field. As a result we will get product count for each of that field values. Then, list all values in filter. Display filter text according to kOptionsFormatter (like ManufacturerId field) of that field or just value, when formatter is missing (like CachedRating field).
-------------
Front-End:
1. "[х] All" option above each filter
2. don't change filter counts/remove options when this/other filters are applied