Forums / Developer / Sort by Price attribute

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Sort by Price attribute

Author Message

Sergi A

Thursday 27 May 2010 1:30:08 am

Hello!

according to the documentation, it is not possible to sort by price attribute while fetching... but trying it, i see it works.. i was wondering if using it could cause trouble, if i can use it or not, because it is not documented... actually, i've seen there's a keySort function defined on the kernel/classes/datatypes/ezprice/ezpricetype.php and it seems to be OK (tough multiprice datatype has not sortKey).

i'm using ez4.2, is there any improvement on this on the 4.3 version? I will have to be able to search on price attribute, but couldn't find any extended attribute filter to do so..

thank you!