Skip to content

Commit

Permalink
Fix column sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
moisseev committed Jun 19, 2024
1 parent 4399382 commit c808027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiments/scoreColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ var scoreColumn = class extends ExtensionCommon.ExtensionAPI {
hidden: (localStorage["display-column"] === (icon ? "text" : "image")),
name: context.extension.localeData
.localizeMessage(column + (icon ? "Icon" : "") + "Column.label"),
sortCallback: (hdr) => getScore(hdr) * 1e4 + 1e8,
sortCallback: (hdr) => getScore(hdr, column) * 1e4 + 1e8,
sortable: true,
...properties
});
Expand Down

0 comments on commit c808027

Please sign in to comment.