hlxsites / vg-volvotrucks-us

Franklin site for https://www.volvotrucks.us/
https://www.volvotrucks.us/
Apache License 2.0
2 stars 6 forks source link

Defect: Major - Search Results - Sorting by Newest Content or Oldest Content does not display the Search results in the correct order by date #422

Closed Andrei-Boiangiu closed 1 year ago

Andrei-Boiangiu commented 1 year ago

When performing a Search (for ex: i-shift) and using the Sort By: Newest Content filter or Sort By: Oldest Content filter - the Search results are not correctly displayed in the correct order based on their dates

search for: "i-shift" Sort By: Newest Content older articles are displayed above newer articles

image

search for: "i-shift" Sort By: Oldest Content newer article is displayed above older article

image

Steps to reproduce:

  1. Go to volvotrucks.us and click on Search and search for, for example, "i-shift"

  2. Click Sort by: Newest Content

  3. Open some of the Search results and notice their dates

  4. Notice that some older articles are displayed above newer articles

  5. Click Sort By: Older Content

  6. Open some of the first few displayed Search results

  7. Notice newer article displayed above older article

    Expected result Sort by: Newest Content should display newest on top to oldest to bottom articles Sort by: Older Content should display oldest on to to newest to bottom articles

    Actual result Sort by: Newest Content displays some older articles above newer articles

image

Sort by: Older Content displayes some newer article above older article

image
Andrei-Boiangiu commented 1 year ago

post go-Live issue still occurs when sorting: examples when searching for "i-shift"

and Sort By: Newest Content notice the older dated News and Stories page above the newer one

image

and Sort By: Older Content notice the more recent News and Stories page above the older one

image

Note this is based on the dates from either the URL here

image

or here

image
AngelaFabregues commented 1 year ago

Ok, I'm analyzing the case "i-shift sort oldest" with the calls to the SearchStax Studio and I see the following dates used for sorting these two pages:

The date field that is set in SearchStax Studio to sort by is the same in most of the pages, at least from the migration and go live. This defect was created before the go-live, which means that the defect was already there before migration.

Who developed the Search API using SearchStax Studio used for sorting a date field that is different than the one you are using for testing purposes.

There is another date field with values (same order):

No more dates are available for searching or sorting for those pages in SearchStax Studio. Not now, not before the migration.

girishdigrajkar commented 1 year ago

As discussed, this defect will not be fixed in volvotrucks us.

Andrei-Boiangiu commented 1 year ago

closing as per above comment