magento / graphql-ce

[ARCHIVED] Please use magento/magento2 project
https://github.com/magento/magento2
Open Software License 3.0
131 stars 155 forks source link

Graphql classification search results are inconsistent with fontend #1074

Closed michaeldyl520 closed 4 years ago

michaeldyl520 commented 4 years ago

Preconditions (*)

2.3-develop

Steps to reproduce (*)

1.Start a search with keyword 'Luma' in frontend 2.Start a search with keyword 'Luma' in graphql, for example below

{
  products(search: "Luma", pageSize: 10) {
    total_count
    aggregations {
      attribute_code
      count
      label
      options {
        count
        label
        value
      }
    }

    items {
      name
      sku
      price {
        regularPrice {
          amount {
            value
            currency
          }
        }
      }
    }
    page_info {
      page_size
      current_page
    }
  }
}

Expected result (*)

  1. Graphql search results should be consistent with frontend search results.

Actual result (*)

  1. Frontend search result 20191202175148

2.graphql search result 20191202175126 20191202180619