diff options
author | Dave Lerner <dave.lerner@windriver.com> | 2014-03-18 09:24:43 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-25 11:17:33 +0000 |
commit | ecfb339d509325a5ab28cd6dacf3b89dde6258e3 (patch) | |
tree | c6f1ce1f2cda4477daa99b6c458421b19ee83c0c /bitbake | |
parent | 0525edb25c875e32548fcc869cc4490f917581ba (diff) | |
download | poky-ecfb339d509325a5ab28cd6dacf3b89dde6258e3.tar.gz |
bitbake: toaster: fix package size 1st sort order
[YOCTO #5914]
On the pages with tables listing packages with a size column, change the
first click sort order on the size column so that packages are sorted in
decreasing order instead of increasing order. It is more likely that
the user sorts this page data by size because the user is interested in
those packages consuming the most disk space.
(Bitbake rev: 3d69f5cdf154df83e7a487e1b609bb8f7b5b6df2)
Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index a4bd9d62ba..3f6b93e077 100644 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -448,7 +448,7 @@ def target(request, build_id, target_id): | |||
448 | { | 448 | { |
449 | 'name':'Size', | 449 | 'name':'Size', |
450 | 'qhelp':'The size of the package', | 450 | 'qhelp':'The size of the package', |
451 | 'orderfield': _get_toggle_order(request, "size"), | 451 | 'orderfield': _get_toggle_order(request, "size", True), |
452 | 'ordericon':_get_toggle_order_icon(request, "size"), | 452 | 'ordericon':_get_toggle_order_icon(request, "size"), |
453 | 'clclass': 'package_size', | 453 | 'clclass': 'package_size', |
454 | 'hidden' : 0, | 454 | 'hidden' : 0, |
@@ -1128,7 +1128,7 @@ def bpackage(request, build_id): | |||
1128 | { | 1128 | { |
1129 | 'name':'Size', | 1129 | 'name':'Size', |
1130 | 'qhelp':'The size of the package', | 1130 | 'qhelp':'The size of the package', |
1131 | 'orderfield': _get_toggle_order(request, "size"), | 1131 | 'orderfield': _get_toggle_order(request, "size", True), |
1132 | 'ordericon':_get_toggle_order_icon(request, "size"), | 1132 | 'ordericon':_get_toggle_order_icon(request, "size"), |
1133 | 'clclass': 'size', 'hidden': 0, | 1133 | 'clclass': 'size', 'hidden': 0, |
1134 | }, | 1134 | }, |