ProductSearch - Sort by product price bug/enhancement

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ProductSearch - Sort by product price bug/enhancement

Ritesh Trivedi
Hi,

In ProductSearch - SortProductPrice is only taking into account product_price_type_id and not product_price_purpose_id. price type e.g. DEFAULT_PRICE can be for different purposes eg. Purchase and Component price. This messes up the order of the products returned in the list.
Reply | Threaded
Open this post in threaded view
|

Re: ProductSearch - Sort by product price bug/enhancement

Ritesh Trivedi
I have a patch for this - havent received any responses, should I post this on the dev list?

Ritesh Trivedi wrote
Hi,

In ProductSearch - SortProductPrice is only taking into account product_price_type_id and not product_price_purpose_id. price type e.g. DEFAULT_PRICE can be for different purposes eg. Purchase and Component price. This messes up the order of the products returned in the list.
Reply | Threaded
Open this post in threaded view
|

Re: ProductSearch - Sort by product price bug/enhancement

Patrick Antivackis
Hi Ritesh,

Could you please submit a patch in Jira following
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Thanks

2008/9/12 Ritesh Trivedi <[hidden email]>

>
> I have a patch for this - havent received any responses, should I post this
> on the dev list?
>
>
> Ritesh Trivedi wrote:
> >
> > Hi,
> >
> > In ProductSearch - SortProductPrice is only taking into account
> > product_price_type_id and not product_price_purpose_id. price type e.g.
> > DEFAULT_PRICE can be for different purposes eg. Purchase and Component
> > price. This messes up the order of the products returned in the list.
> >
>
> --
> View this message in context:
> http://www.nabble.com/ProductSearch---Sort-by-product-price-bug-enhancement-tp19445473p19460115.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>