• Welcome to KonaKart Community Forum. Please login or sign up.
 

admindatadecriptor , order by

Started by manue, February 03, 2010, 01:33:43 pm

Previous topic - Next topic

manue

hello friends!
I'm using a konakart api for recover the reviews of customers:

descriptor = new AdminDataDescriptor();
AdminReviews  adminReviews;
descriptor.setOrderBy(AdminDataDescriptor.ORDER_BY_DATE_ADDED_ASCENDING);
adminReviews = apiKonakart.getAllReviews(sessionId, descriptor);

but I get the same result when I use ORDER_BY_DATE_ADDED_ASCENDING or DESCENDING, any idea??

thanks!

heidi


Use AdminDataDescriptor.ORDER_BY_REVIEWID_ASCENDING or AdminDataDescriptor.ORDER_BY_REVIEWID_DESCENDING instead, since those Order_by_Date constants you're using aren't supported in that API call..

--Heidi