Skip to content
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

Sorting of products, Categories etc #138

Closed
Raja0sama opened this issue Sep 2, 2019 · 5 comments
Closed

Sorting of products, Categories etc #138

Raja0sama opened this issue Sep 2, 2019 · 5 comments
Labels
design notes Blueprint and notes for coming feature enhancement New feature or request
Milestone

Comments

@Raja0sama
Copy link

Is your feature request related to a problem? Please describe.
Product Sorting features is what really missing with in your Project, Project Sorting can be of different type. Right now filtering is available but sorting is much more need.
Types of Sorting that are required.

Describe the solution you'd like
I have attached link and the code will pretty much gonna help you with the function itself all you have to do it make it accessible with Graphql.

@kidunot89 kidunot89 added design notes Blueprint and notes for coming feature enhancement New feature or request labels Sep 3, 2019
@Raja0sama
Copy link
Author

Hey Really interested in this feature, when can it be done?

@kidunot89
Copy link
Member

kidunot89 commented Sep 27, 2019

Soon hopefully, still working out all the sorting fields to be added to the WCConnectionOrderbyEnum. So far I've have selected

  • averageRating
  • dateOnSaleFrom
  • dateOnSaleTo
  • totalSales

I'm not sure if I should add any other fields.

@Raja0sama
Copy link
Author

There is perpage view meta i guess in wp add by most views to or by comments.

@kidunot89 kidunot89 added this to the v0.2.2 milestone Sep 28, 2019
@kidunot89
Copy link
Member

kidunot89 commented Sep 30, 2019

Implemented in #145. I've also implemented a few hooks for adding more meta fields to each of the new enumerations, example included in the PR summary.

@Raja0sama
Copy link
Author

Great i am gonna test today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design notes Blueprint and notes for coming feature enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants