View Issue Details

IDProjectCategoryView StatusLast Update
0003247HTML & PERLBug Reportpublic2018-09-01 18:54
ReporterBhaaL Assigned ToDerIdiot  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version2018-10 
Summary0003247: My List: missing tiebreaker when sorting
DescriptionWhenever the list is sorted by a field that contains the same value multiple times (such as "Vote" to find my top voted anime or "Eps"/"Seen" to get potential ones to suggest to someone else that don't exceed a certain episode count), the resulting list is not consistent across multiple pages without applying a secondary sort as well (such as by "Title").

It happens that the same Anime appears on multiple pages, every time differently sorted into the results.

This does not happen if a different column is used (such as "Title", which is the classic alphabetic sort; or "Rating"/"Average"/"Reviews") which do not have enough matching entries to cause this behavior over a page change.
It also doesn't happen if a secondary sort for one of those fields is applied.

Note: Opening "My List" has an alphabetic sort by default, but the "Title" column has no sort indicator; so there appears to be some default sort if none is specified.
It might be worthwhile adding that sort all the time to get some determinism in there; or applying the "Title" sort as default (where currently the sort indicator is not present at all)
Steps To ReproduceFor both cases, make sure there is a sizable amount of Anime in the list with either "Vote" or "Eps" at the same amount (such as Vote "10.0" or Eps "26/26")

This causes an inconsistent sort:
1. Select "My List" from "User Data"
2. Sort by column "Vote" (or "Eps", depending on your data set) - do *NOT* sort by anything else
3. Switch to the "Next" page a couple of times and notice that the same Anime may appear multiple times

This causes a consistent sort:
1. Select "My List" from "User Data"
2. Sort by column "Title" for consistency - Note this does not change the default behavior
3. Sort by column "Vote" (or "Eps", depending on your data set)
4. Switch to the "Next" page a couple of times and notice that the Anime only show up once in their expected place (in descending order of "Vote", alphabetically)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-09-01 11:32 BhaaL New Issue
2018-09-01 18:53 DerIdiot Assigned To => DerIdiot
2018-09-01 18:53 DerIdiot Status new => resolved
2018-09-01 18:53 DerIdiot Resolution open => fixed
2018-09-01 18:53 DerIdiot Fixed in Version => 2018-10
2018-09-01 18:54 DerIdiot Summary My List: sorting by same-value field is inconsistent without secondary order => My List: missing tiebreaker when sorting