The uc_order_log() function does not have an ORDER BY. Since the created field only has seconds granularity, I've added order_log_id as a secondary order by field. Also, for the same reason I've added oc.comment_id to uc_order_comments_load().

CommentFileSizeAuthor
20090316115113.patch1.31 KBcedarm

Comments

Island Usurper’s picture

Status: Needs review » Fixed

Even though I don't think it will make that much difference in practice, I can see your point. Patch didn't break anything so it's committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.