[extensions-web] extensions: Properly show the versions table for a version page



commit 2901346a371663fd6aa9aefdab061e953f75f0b4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Apr 26 02:35:00 2012 -0400

    extensions: Properly show the versions table for a version page

 sweettooth/extensions/views.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/extensions/views.py b/sweettooth/extensions/views.py
index 75606cb..594def7 100644
--- a/sweettooth/extensions/views.py
+++ b/sweettooth/extensions/views.py
@@ -254,6 +254,7 @@ def extension_version_view(request, obj, **kwargs):
     context = dict(version = version,
                    extension = extension,
                    shell_version_map = json.dumps(shell_version_map),
+                   all_versions = extension.versions.order_by('-version'),
                    is_unreviewed = status == models.STATUS_UNREVIEWED,
                    is_visible = status == models.STATUS_ACTIVE,
                    is_rejected = status == models.STATUS_REJECTED)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]