You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the getCategoryProducts do not support sort param or rather order in PrestaShop.
Actual Behavior
When providing sort options on the frontend, the server-api skips sort parameter while using: search method from useFacet composable. This means that sorting is not possible. Additionally, getSortOptions from facetGetters do not produce proper sorting options, but this is easy to solve with code like this:
Expected Behavior
So the getCategoryProducts do not support
sort
param or ratherorder
in PrestaShop.Actual Behavior
When providing sort options on the frontend, the server-api skips
sort
parameter while using:search
method fromuseFacet
composable. This means that sorting is not possible. Additionally,getSortOptions
fromfacetGetters
do not produce proper sorting options, but this is easy to solve with code like this:Possible Solution
Sot the solution would be adding an
order
parameter to thegetCategoryProducts
API call params.Steps to reproduce
No response
What version of PrestaShop integration are you using?
1.0.0
What version of Node.js are you using?
14
What browser (and version) are you using?
Brave
What operating system (and version) are you using?
macOS
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: