Skip to content

Commit a3adb6c

Browse files
committed
Sort by rollup status
1 parent 88592e2 commit a3adb6c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

homu/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,8 @@ def sort_key(self):
183183
STATUS_TO_PRIORITY.get(self.get_status(), -1),
184184
1 if self.mergeable is False else 0,
185185
0 if self.approved_by else 1,
186-
# Sort rollup=always to the bottom of the queue, but treat all
187-
# other rollup statuses as equivalent
188-
1 if WORDS_TO_ROLLUP['rollup=always'] == self.rollup else 0,
189186
-self.priority,
187+
self.rollup,
190188
self.num,
191189
]
192190

0 commit comments

Comments
 (0)