• Robert Knight's avatar
    Fix 'Location' sort order for annotations · 0a69ccd0
    Robert Knight authored
    1398661 extracted the code for getting a location from an annotation
    into a separate module. However that function expects an Annotation but
    the sort predicate function was being passed a Thread.
    
    Consequently the predicate function was returning
    Number.POSITIVE_INFINITY for every thread and so sort ordering fell back
    to the default 'tie-breaker' comparator - which is the original index of
    the element in the list being sorted.
    
    Fixes #3106
    0a69ccd0
Name
Last commit
Last update
..
admin-users-test.js Loading commit data...
annotation-fixtures.js Loading commit data...
annotation-mapper-test.js Loading commit data...
annotation-metadata-test.js Loading commit data...
annotation-sync-test.coffee Loading commit data...
annotation-ui-controller-test.js Loading commit data...
annotation-ui-sync-test.js Loading commit data...
annotation-ui-test.js Loading commit data...
annotation-viewer-controller-test.coffee Loading commit data...
app-controller-test.js Loading commit data...
auth-test.js Loading commit data...
bootstrap.js Loading commit data...
bridge-test.coffee Loading commit data...
create-group-form-test.js Loading commit data...
cross-frame-test.coffee Loading commit data...
discovery-test.coffee Loading commit data...
drafts-test.js Loading commit data...
features-test.js Loading commit data...
form-respond-test.coffee Loading commit data...
form-select-onfocus-controller-test.js Loading commit data...
groups-test.js Loading commit data...
host-test.coffee Loading commit data...
installer-controller-test.js Loading commit data...
local-storage-test.coffee Loading commit data...
login-form-test.coffee Loading commit data...
markdown-commands-test.js Loading commit data...
media-embedder-test.js Loading commit data...
permissions-test.coffee Loading commit data...
promise-util.js Loading commit data...
raven-test.js Loading commit data...
retry-util-test.js Loading commit data...
search-client-test.js Loading commit data...
search-filter-test.coffee Loading commit data...
session-test.js Loading commit data...
settings-test.js Loading commit data...
store-test.js Loading commit data...
stream-controller-test.coffee Loading commit data...
streamer-test.js Loading commit data...
tags-test.coffee Loading commit data...
threading-test.coffee Loading commit data...
time-test.js Loading commit data...
unicode-test.coffee Loading commit data...
util.js Loading commit data...
view-filter-test.coffee Loading commit data...
websocket-test.js Loading commit data...
widget-controller-test.js Loading commit data...