Added filter/sort/search to /minifigures and /parts #86
Reference in New Issue
Block a user
Delete Branch "feature/sort-search-filter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added search/filter/sort option to the /minifigures and /parts pages.
Issue #85 asks for an option to filter by owner. This is implemented by selecting an owner (like on the /sets page) and then running a new query for minifigures by this owner. Search/sort works the same as before.
Same principle is done on /parts. This wasn't requested but it seemed logical to implement it the same way.
The styling is the same as /sets.
If theres no owner created, the filters wont be shown.
Single annoyance exists. Where as the parts table can show a square of the color and then the color name, the way
<option>works in html, it isn't possible to have multiple stylings in the same option. Therefore there's only shown the color name in black.