Tags/topics: 
1
Answers
Vote up!
0
Vote down!

Order ID # > 999 not showing

Hello there,

The Order ID # has stopped showing at the Orders view after it reached the #999. Probably there is a parameter somewhere that says to use only 3 digits for the order ID numbers. If a call the order ID directly —say Order 1011— it appers, but it doesn't normally at the view.

I appreciate your help.

Thanks.
Juan

Asked by: juan.pompa
on July 29, 2013

Comments

Ryan,

You are absolutely right. I was sorting by ID number instead of latest updating date.

Once again, thanks very much for your great job and support to us all.

Cheers
juan

- juan.pompa on July 31, 2013

1 Answer

Vote up!
1
Vote down!

It sounds to me like you're actually just dealing with a common sorting problem for Orders. By default, the admin/commerce/orders View sorts by the "Order number" field, which is alphanumeric and therefore sorts alphanumerically (instead of numerically):

  • 1
  • 10
  • 2
  • 3
  • ...

It's an unfortunate side effect of how we built that View originally, but in Commerce 1.7 and later we actually sort this View by most recently updated instead of by order number. If you edit your View like this as well, I'd expect you'd see these order numbers that appear to be missing.

Ryan Szrama
Answer by: Ryan Szrama
Posted: Jul 30, 2013