Skip to content

finishes search feature with multiple filters and sorting#96

Open
taha-qam wants to merge 2 commits intoCSES-Open-Source:devfrom
taha-qam:feature/search
Open

finishes search feature with multiple filters and sorting#96
taha-qam wants to merge 2 commits intoCSES-Open-Source:devfrom
taha-qam:feature/search

Conversation

@taha-qam
Copy link

Changes

  • Added filters for categories (can have multiple categories)
  • Added filters for price (in a range)
  • Added filters for condition (new, used, and more)
  • Added sort option for price (ascending or descending)
  • Added sort option for data added (newest to oldest)
  • Added clear filters option to go to default state
image image image

Testing

I ran the code and tested search options, filters myself with products. To make sure it would work with Abas's code, I copied his changed files into my code, and made any changes needed in my code to have it work with his. From what I have seen my filtering/sorting logic works with his frontend

  • TODO
  • search in tandem with filtering/sorting (right now one or the other)
  • fix up UI to match with addProduct, and update with new UI changes

Tracking

Build feature for searching products by name, category, and price #64

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant