Closed Bug 315129 Opened 19 years ago Closed 19 years ago

[PostgreSQL] Attachments are sorted by last changed time instead of creation time

Categories

(Bugzilla :: Attachments & Requests, defect)

2.21
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

Attachments

(1 file)

1) create attachment 1 [details] [diff] [review]
2) create attachment 2 [details] [diff] [review]

=> in show_bug.cgi, you see attachment 1 [details] [diff] [review], and attachment 2 [details] [diff] [review] below attachment 1 [details] [diff] [review], as expected (they are displayed in chronological order)

3) edit attachment 1 [details] [diff] [review] (no need to change anything, or change a flag, or do what you want)
4) apply changes

=> now attachment 2 [details] [diff] [review] is displayed first, and attachment 1 [details] [diff] [review] is now below attachment 2 [details] [diff] [review]. Oops!!


It appears that attachments are sorted by their last changed time instead of their creation time. Very annoying!
Attached patch patch, v1Splinter Review
Assignee: attach-and-request → LpSolit
Status: NEW → ASSIGNED
Attachment #201874 - Flags: review?(myk)
Comment on attachment 201874 [details] [diff] [review]
patch, v1

Looks good, r=myk
Attachment #201874 - Flags: review?(myk) → review+
Flags: approval?
Flags: approval? → approval+
Checking in Bugzilla/Attachment.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Attachment.pm,v  <--  Attachment.pm
new revision: 1.28; previous revision: 1.27
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: