summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-01-12 14:25:56 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-01-12 14:25:56 +0000
commite1ef715514298fea06e86d07358e56c49016cff2 (patch)
tree061dfb0bd521ff2f03786f5d0e788d403cd3821a
parent1470e9323d6bacf039c3141bb4e208511ecd907d (diff)
downloadbcfg2-e1ef715514298fea06e86d07358e56c49016cff2.tar.gz
bcfg2-e1ef715514298fea06e86d07358e56c49016cff2.tar.bz2
bcfg2-e1ef715514298fea06e86d07358e56c49016cff2.zip
Alphabetize clients list in reports so that it looks more sane
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5016 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Reports/reports/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Reports/reports/views.py b/src/lib/Server/Reports/reports/views.py
index c6e4e4501..e41836470 100644
--- a/src/lib/Server/Reports/reports/views.py
+++ b/src/lib/Server/Reports/reports/views.py
@@ -91,8 +91,8 @@ def modified_item_index(request, timestamp = 'now'):
def client_index(request, timestamp = 'now'):
timestamp = timestamp.replace("@"," ")
client_list = Client.objects.active(timestamp).order_by('name')
- client_list_b = client_list[:len(client_list)/2]
client_list_a = client_list[len(client_list)/2:]
+ client_list_b = client_list[:len(client_list)/2]
if timestamp == 'now':
timestamp = datetime.now().isoformat('@')
return render_to_response('clients/index.html',