[RFI][BFAV] Item ordering in the BugFixArchiveViewer
Daniel Vainsencher
danielv at netvision.net.il
Mon Jul 21 13:28:35 UTC 2003
I agree the ordering should be as you describe. It appears the order is
defined in BugFixArchive>>initialize by:
archivePostGroups _ SortedCollection sortBlock: [ :a :b | a maxUid >
b maxUid ].
Changing that line to -
archivePostGroups _ SortedCollection sortBlock: sortBlock: [ :a :b |
a mostRecentDate > b mostRecentDate].
Fixes it. The sort order doesn't match the dates in the group labels,
which slightly bugs me, but I'm not sure what people use those dates
for, so I don't know how it should be.
Daniel
Doug Way <dway at riskmetrics.com> wrote:
>
> I was having trouble finding some items in the BFAV when compared with
> the sqfixes page at http://swiki.gsug.org:8080/SQFIXES/ , and I
> realized that the BFAV orders the items according to the date of the
> first post on an item, whereas the sqfixes site orders items according
> to the most recent post.
>
> I think I like the "most recent post" behavior of the sqfixes site
> better, since it brings up recently commented items to the top of the
> list. Would it make sense to change the BFAV to do this?
>
> - Doug Way
More information about the Squeak-dev
mailing list
|