AutoDirector forum

The AutoDirector support and advice forum

sort order different

Post Reply

Page: 1

Author Post
Member
Registered: Apr 2008
Posts: 67
Not really a fault, but a little disorientating -
on the website, when cars are the same price, they don't list in the same order when you sort by price in the admin tool. :?

I assume the admin tool or the intergration into the website has a secondary sort factor the other doesn't?

I only noticed when I went to update a car, and it was 4th from the top, not 1st as it was on the website.
Administrator
Registered: Apr 2008
Posts: 324
That's a little weird. The sorting is handled by JavaScript on the website, whereas it's a SQL 'ORDER BY' on the administration pages.

I suspect MySQL returns the vehicles in the order they were added. The showroom possibly shows the most expensive first, but that order might change as you select different options.

I'll see if we can make it more consistent!
_______________
AutoDirector administrator

Post Reply

Page: 1