Ignore:
Timestamp:
Aug 19, 2009, 11:24:43 AM (14 years ago)
Author:
Nicklas Nordborg
Message:

References #108: Logging the change history of an item

  • Add 'id' as an extra sort column so that events that have the same timestamp are sorted in the order they were added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/history/list_history.jsp

    r5048 r5061  
    8686    final ItemQuery<ChangeHistory> query =
    8787      Base.getConfiguredQuery(dc, cc, true, ChangeHistory.getHistoryOf(source), mode);
     88    query.order(cc.getSortDirection().sortBy(Hql.property("id")));
    8889    history = query.iterate(dc);
    8990    //cc.setMessage(query.toString());
Note: See TracChangeset for help on using the changeset viewer.