summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/patchwork/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/patchwork/models.py b/apps/patchwork/models.py
index db1774e..8871df0 100644
--- a/apps/patchwork/models.py
+++ b/apps/patchwork/models.py
@@ -345,7 +345,7 @@ class Bundle(models.Model):
def mbox(self):
return '\n'.join([p.mbox().as_string(True) \
- for p in self.patches.all()])
+ for p in self.ordered_patches()])
class BundlePatch(models.Model):
patch = models.ForeignKey(Patch)