Issue list ordered by recent activity
Submitted by Eelco Visser on 4 January 2013 at 11:47
Issue Log
We can probably use the
modified
property of Issue for sorting using search.
The dates of events such as taggings and comments should be considered as well; I suppose the
modified
property is not updated on tagging and commenting.
The
modified
probably gets updated, because a reference (theIssue.log
property IIRC) is changed.
modified
gets updated if one of the properties is updated, so that the object is dirty.
in this case updating theproject
ofIssue.project
won’t trigger modified.
when you change theproject
to be another project will trigger modified.in the case of
Issue.log
it’s a bit more complicated but changing the list(adding / removing comments tag etc) should makeIssue
dirty so triggers an update ofmodified
however editing a comment shouldn’t triggermodified
There is also a inverse annotation on some of the properties, this could deliver some unwanted updates, certainly if they are in combination with lists. (Update of list is sometimes preformed by emptying and then refill the list, triggering 2 times
modified
for unmodified objects).
Log in to post comments