[bitbake-devel] [PATCH 2/9] toaster: disable 'size over total' sort

Alex DAMIAN alexandru.damian at intel.com
Wed Apr 9 13:17:33 UTC 2014


From: Dave Lerner <dave.lerner at windriver.com>

[YOCTO 6061]

Disable size-over-total table column sorts in the image installed
packages view because that field is a computed field and only model
fields are sortable in the current table toaster implementation.

Signed-off-by: Dave Lerner <dave.lerner at windriver.com>
---
 lib/toaster/toastergui/views.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py
index 910b3b9..96ce4d7 100644
--- a/lib/toaster/toastergui/views.py
+++ b/lib/toaster/toastergui/views.py
@@ -568,8 +568,6 @@ def target(request, build_id, target_id):
                 {
                     'name':'Size over total (%)',
                     'qhelp':'Proportion of the overall included package size represented by this package',
-                    'orderfield': _get_toggle_order(request, "size"),
-                    'ordericon':_get_toggle_order_icon(request, "size"),
                     'clclass': 'size_over_total',
                     'hidden' : 1,
                 },
-- 
1.9.1




More information about the bitbake-devel mailing list