Jump to content

Edit History

InfantryDev

InfantryDev

  On 9/5/2019 at 9:44 PM, karus said:

Hello,

as of FacetedSearch 3.2.1 you need to comment lines 333-335 in ps_facetedsearch/src/Adapter/MySQL.php:
 

//        if ($orderField === 'price') {
//            $orderField = $this->getOrderDirection() === 'asc' ? 'price_min' : 'price_max';
//        }

 

this change fixed it for me.

Expand  

I did it @karus , but won't work.

 

Result before and after:

https://imgur.com/xVALpM2

but with sorting with name it's ok:

https://imgur.com/Ad6K438

InfantryDev

InfantryDev

  On 9/5/2019 at 9:44 PM, karus said:

Hello,

as of FacetedSearch 3.2.1 you need to comment lines 333-335 in ps_facetedsearch/src/Adapter/MySQL.php:
 

//        if ($orderField === 'price') {
//            $orderField = $this->getOrderDirection() === 'asc' ? 'price_min' : 'price_max';
//        }

 

this change fixed it for me.

Expand  

I did it @karus , but won't work.

Code:

image.png.6d4e53328addcccaf50c4fcfdd9aa61e.png

 

 

Result before and after:

image.thumb.png.b182950c56e247b985e41546f7c6d74b.png

 

But without price sorting it's ok:

image.thumb.png.ea0959e1f66514f73fa247eafb45795b.png

 

 

 

 

 

image.png

image.png

image.png

InfantryDev

InfantryDev

  On 9/5/2019 at 9:44 PM, karus said:

Hello,

as of FacetedSearch 3.2.1 you need to comment lines 333-335 in ps_facetedsearch/src/Adapter/MySQL.php:
 

//        if ($orderField === 'price') {
//            $orderField = $this->getOrderDirection() === 'asc' ? 'price_min' : 'price_max';
//        }

 

this change fixed it for me.

Expand  

I did it @karus , but won't work.

Code:

image.png.6d4e53328addcccaf50c4fcfdd9aa61e.png

 

 

Result before and after:

image.thumb.png.b182950c56e247b985e41546f7c6d74b.png

 

But without price sorting it's ok:

image.thumb.png.ea0959e1f66514f73fa247eafb45795b.png

 

 

image.png

image.png

image.png

×
×
  • Create New...