Skip to content

Commit e81cf46

Browse files
committed
Use unresolved matches for open review order
1 parent 91101ae commit e81cf46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Cavil/Model/Packages.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ sub paginate_open_reviews ($self, $options) {
250250
priority, state, checksum, unresolved_matches, COUNT(*) OVER() AS total
251251
FROM bot_packages
252252
WHERE state = 'new' AND obsolete = FALSE $priority $search $progress $embargoed
253-
ORDER BY priority DESC, external_link, created DESC, name
253+
ORDER BY priority DESC, external_link, unresolved_matches, name
254254
LIMIT ? OFFSET ?
255255
}, $options->{limit}, $options->{offset}
256256
)->hashes->to_array;

0 commit comments

Comments
 (0)