[extensions-web] Sorting by downloads should be called sorting by downloads, not popularity
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Sorting by downloads should be called sorting by downloads, not popularity
- Date: Sun, 18 Dec 2011 00:50:44 +0000 (UTC)
commit 29c56f0b00effefd56815de249799e2ece45da72
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Dec 16 02:44:18 2011 -0500
Sorting by downloads should be called sorting by downloads, not popularity
Popularity is (enables - disables), which will be tracked separately.
sweettooth/extensions/views.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/extensions/views.py b/sweettooth/extensions/views.py
index 805acba..7dee4ef 100644
--- a/sweettooth/extensions/views.py
+++ b/sweettooth/extensions/views.py
@@ -58,7 +58,7 @@ def ajax_query_params_query(request):
if sort == 'recent':
queryset = queryset.order_by('-pk')
- elif sort == 'popularity':
+ elif sort == 'downloads':
queryset = queryset.order_by('-downloads')
else:
queryset = queryset.order_by('name')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]