GNOME Bugzilla – Bug 700284
Fix sorting of boxes that were never accessed
Last modified: 2016-03-31 13:22:07 UTC
Currently, the comparison function only takes into account access_last_time if it's set for both boxes. If one of them has it unset, it falls back to using name comparison to sort the boxes. This means if the user has a box called 'A' and one called 'B', A having never been used and B being regularly used, A will always be sorted before B regardless of their access_last_time fields. This commit ensures that boxes which have their access_last_time field set are always sorted before the boxes which don't have it set.
Created attachment 244158 [details] [review] Fix sorting of boxes that were never accessed
Review of attachment 244158 [details] [review]: ACK. I saw something fishy in sorting but never got to investigate it. Hopefully this is the same issue I saw.
Attachment 244158 [details] pushed as 871a958 - Fix sorting of boxes that were never accessed