[Branch,~linaro-validation/lava-scheduler/trunk] Rev 222: enable more rows for device-type table

Message ID 20121119193211.4079.22525.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Andy Doan Nov. 19, 2012, 7:32 p.m.
------------------------------------------------------------
revno: 222
committer: Andy Doan <andy.doan@linaro.org>
branch nick: lava-scheduler
timestamp: Mon 2012-11-19 11:44:33 -0600
message:
  enable more rows for device-type table
  
  We were limiting the number to 10 and we have more device types in LAVA now.
modified:
  lava_scheduler_app/views.py


--
lp:lava-scheduler
https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk

You are subscribed to branch lp:lava-scheduler.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk/+edit-subscription

Patch

=== modified file 'lava_scheduler_app/views.py'
--- lava_scheduler_app/views.py	2012-09-17 02:56:42 +0000
+++ lava_scheduler_app/views.py	2012-11-19 17:44:33 +0000
@@ -291,6 +291,10 @@ 
         return "%s idle, %s offline, %s busy" % (record.idle, record.offline,
                 record.busy)
 
+    datatable_opts = {
+        "iDisplayLength": 25
+        }
+
     name = IDLinkColumn("name")
     status = Column()