GNOME Bugzilla – Bug 631588
Sort by Subject doesn't work
Last modified: 2010-10-07 14:07:48 UTC
Forwarding this from the downstream bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=640327 Simply sorting by subject doesn't sort messages by it. The downstream bug report contains also screenshots.
Created attachment 171882 [details] [review] evo patch for evolution; The subject sorting used COL_SUBJECT_NORM as a text for comparison, which is simply subject without any leading "Re:" and spaces. The thing is it returned a collation key, not the string itself, but the table had set a sorting which did collate again, on the collation key, thus the comparison was incorrect. Telling the ETable that the comparison should be simple strcmp fixes the issue.
Created commit 2d0af11 in evo master (2.91.1+) Created commit 294dd91 in evo gnome-2-32 (2.32.1+)
That appears to have done the trick. Thanks