[bitbake-devel] [PATCH 05/14] toaster: disable configvar sorts for value and files

Alex DAMIAN alexandru.damian at intel.com
Mon Mar 31 16:47:05 UTC 2014


From: David Reyna <David.Reyna at windriver.com>

Disable the sort on files because it sorts on the file array's
first (and invisible) element. Disable the sort on values
because the raw ASCII sort looks wrong to the general user,
especially for values with leading spaces.

[YOCTO #6004]

Signed-off-by: David Reyna <David.Reyna at windriver.com>
---
 lib/toaster/toastergui/views.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py
index 4e412ca..6413c80 100644
--- a/lib/toaster/toastergui/views.py
+++ b/lib/toaster/toastergui/views.py
@@ -1120,15 +1120,11 @@ def configvars(request, build_id):
                 {'name': 'Value ',
                  'qhelp': "The value assigned to the variable",
                  'dclass': "span4",
-                 'orderfield': _get_toggle_order(request, "variable_value"),
-                 'ordericon':_get_toggle_order_icon(request, "variable_value"),
                 },
                 {'name': 'Set in file',
                  'qhelp': "The last configuration file that touched the variable value",
                  'clclass': 'file', 'hidden' : 0,
                  'dclass': "span6",
-                 'orderfield': _get_toggle_order(request, "vhistory__file_name"),
-                 'ordericon':_get_toggle_order_icon(request, "vhistory__file_name"),
                  'filter' : {
                     'class' : 'vhistory__file_name',
                     'label': 'Show:',
-- 
1.9.1




More information about the bitbake-devel mailing list