Skip to content

Commit b71869c

Browse files
committed
[FIX] runbot: fix public bundle page
1 parent 8f8db01 commit b71869c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runbot/controllers/frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def bundle(self, bundle=None, page=1, limit=50, expand_custom=False, **kwargs):
190190
'title': 'Bundle %s' % bundle.name,
191191
'page_info_state': bundle.last_batch._get_global_result(),
192192
'expand_custom': expand_custom,
193-
'needs_update': bundle.last_batch and bundle.last_batch.needs_update(),
193+
'needs_update': bundle.last_batch and bundle.last_batch.sudo().needs_update(),
194194
}
195195

196196
return request.render('runbot.bundle', context)

0 commit comments

Comments
 (0)