[RFI][BFAV] Item ordering in the BugFixArchiveViewer
Brent Vukmer
bvukmer at blackboard.com
Mon Jul 21 13:46:11 UTC 2003
Hmm. Originally, I sorted by mostRecentDate as Daniel describes.
However this creates funky behavior when a number of groups all have
equivalent mostRecentDate values.
> -----Original Message-----
> From: Daniel Vainsencher [mailto:danielv at netvision.net.il]
> Sent: Monday, July 21, 2003 9:29 AM
> To: The general-purpose Squeak developers list
> Cc: squeak-dev at lists.squeakfoundation.org
> Subject: Re: [RFI][BFAV] Item ordering in the BugFixArchiveViewer
>
>
> 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
|