MantisBT: master 93d31593

Author Committer Branch Timestamp Parent
dregad dregad master 2015-01-22 07:06 master e77fcd46
Affected Issues  0011742: Sort bug notes by date, not by ID
Changeset

Sort bugnotes by date_submitted

Previously they were sorted by id.

The date_submitted column is currently not indexed. I tested the new
code both with and without adding an index; the explain plan was
identical, and I did not measure any meaningful difference in query
execution time, even for bugs having a large number of bugnotes (tested
with 0004286 which has 648 bugnotes).

Fixes 0011742

mod - core/bugnote_api.php Diff File