summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f26f929)
If a bundle is empty, we end up triggering the 'if not patches' check
in generic_list(), which repopulates the patch list with the current
project's patches.
So, check for None instead, and leave the patch list empty.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
else:
context.filters.set_status(filterclass, setting)
else:
context.filters.set_status(filterclass, setting)
patches = Patch.objects.filter(project=project)
patches = context.filters.apply(patches)
patches = Patch.objects.filter(project=project)
patches = context.filters.apply(patches)