Jump to content

BO -> Orders : Each order Status mySQL ORDER BY date_add


realayumi

Recommended Posts

Sorry if i'm in the wrong subforum. ANd already search for my problem, and did not find any.

 

In BO -> Admin Orders (detail)

 

After i change order status to payment accepted, i have a module to change the order status to "On progress"

Because of bugs, the new status in the wrong order. (Atatched Image 0)

 

Then in the module, the mysql "INSERT" in "order_history" table directly "date_add" current date + 10 second.

 

Then the list order display correctly (Attached image 1)

 

The problem is in BO -> Orders (Attached image 2), what i want is each order's status is not "SORT BY" id_order_history,

but sort by "date_add". So we can easily view the last status for each order.

 

Where i must edit the mySQL.

 

Any help would be appriciate.

Sorry for bad English.

My PS 1.4.5.1

post-284271-0-03388800-1333354767_thumb.jpg

post-284271-0-62350300-1333354777_thumb.jpg

post-284271-0-44665200-1333358754_thumb.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...