Skip to content

Commit b3e619c

Browse files
committed
Fix scoresort
1 parent f0b7aa0 commit b3e619c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/paperlist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ private function _add_sorter($svc, $sort_subset) {
731731
$flags = &$this->_viewf[$svc->keyword];
732732
$flags = $flags ?? 0;
733733
if (($flags & self::VIEW_ORIGINMASK) <= $origin) {
734-
$schema = (new ViewOptionSchema)->define("order=" . ScoreInfo::$score_sort_enum);
734+
$schema = (new ViewOptionSchema)->define("order=" . ScoreInfo::$score_sort_enum . "^");
735735
$vol = (new ViewOptionList)->append_validate($svc->view_options ?? [], $schema);
736736
if (($ss = $vol->get("order")) !== null) {
737737
$flags = ($flags & ~self::VIEW_ORIGINMASK) | $origin;

0 commit comments

Comments
 (0)