mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: respect repo sequence in dashboard
This commit is contained in:
parent
efd049da1d
commit
9282b10034
@ -1391,9 +1391,10 @@ class RunbotController(http.Controller):
|
||||
ORDER BY id DESC
|
||||
LIMIT 3
|
||||
) bu ON (true)
|
||||
JOIN runbot_repo r ON (r.id = br.repo_id)
|
||||
WHERE br.sticky
|
||||
AND br.repo_id in %s
|
||||
ORDER BY br.repo_id, br.branch_name, bu.id DESC
|
||||
ORDER BY r.sequence, r.name, br.branch_name, bu.id DESC
|
||||
""", [tuple(repos._ids)])
|
||||
|
||||
builds = RB.browse(map(operator.itemgetter(0), cr.fetchall()))
|
||||
|
Loading…
Reference in New Issue
Block a user