Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Return 'Available sort options' for product listing #3

Closed
paliarush opened this issue Apr 4, 2018 · 1 comment
Closed

Return 'Available sort options' for product listing #3

paliarush opened this issue Apr 4, 2018 · 1 comment
Assignees

Comments

@paliarush
Copy link
Contributor

paliarush commented Apr 4, 2018

There is “Product Listing Sort By“ setting in the Magento’s catalog configuration. These options (e.g. Position, Name, Price asc/desc) are used to change default sorting in product listing. And these options are necessary to render the toolbar on the client side. Of course those options could be written as an JS variable during HTML server side rendering but it would be more convenient to get them together with the pagination information.

See how to expose a new query via GraphQL in Magento

Acceptance criteria:

  1. sort_fields field should be added to Products GraphQL type (see Magento/CatalogGraphQl/etc/schema.graphqls )
  2. Changes are covered with web API functional tests. See \Magento\GraphQl\Catalog\ProductViewTest::testQueryAllFieldsSimpleProduct as an example.
@paliarush paliarush added good first issue Good for newcomers for-grooming This issue needs to be discussed before it can be worked on additional-coverage labels Apr 4, 2018
@paliarush paliarush removed the for-grooming This issue needs to be discussed before it can be worked on label May 9, 2018
@zbigniewkuras zbigniewkuras self-assigned this May 12, 2018
@paliarush
Copy link
Contributor Author

paliarush commented May 22, 2018

Merged in #12

magento-engcom-team pushed a commit that referenced this issue Jun 25, 2018
[Forwardport] Fixed set template syntax issue
magento-engcom-team pushed a commit that referenced this issue Aug 11, 2018
[Forwardport] Remove unnecessary translation of HTML tags
magento-engcom-team pushed a commit that referenced this issue Dec 6, 2018
magento-engcom-team pushed a commit that referenced this issue Dec 10, 2018
magento-engcom-team pushed a commit that referenced this issue Jan 19, 2019
magento-engcom-team pushed a commit that referenced this issue Feb 20, 2019
magento-engcom-team pushed a commit that referenced this issue Mar 8, 2019
atwixfirster added a commit that referenced this issue Mar 12, 2019
1. Fix the same links in the Test Case #3
atwixfirster added a commit that referenced this issue Mar 13, 2019
magento-engcom-team pushed a commit that referenced this issue Mar 18, 2019
magento-engcom-team pushed a commit that referenced this issue Mar 25, 2019
magento-engcom-team pushed a commit that referenced this issue Jun 3, 2019
Customer Account Forgot Password page title
magento-engcom-team pushed a commit that referenced this issue Jul 15, 2019
magento-engcom-team pushed a commit that referenced this issue Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants