diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-02-05 18:50:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-10 23:07:50 +0000 |
commit | 2a3ca552ce09131c7f2806d9dc38da33a8a036e5 (patch) | |
tree | d124f67b264d5e3727746668fb4a57a897834c22 /bitbake | |
parent | 203ac2937c80b4e5960ea981971d9dbf4ddcd564 (diff) | |
download | ast2050-yocto-poky-2a3ca552ce09131c7f2806d9dc38da33a8a036e5.zip ast2050-yocto-poky-2a3ca552ce09131c7f2806d9dc38da33a8a036e5.tar.gz |
bitbake: toaster: All machines reset order_by if removing that column
When you remove a column from a table that is currently being sorted by
that value we also need to remove the sort.
(Bitbake rev: fcb551ff622b3b24ee113ad49ec6cbd26569acd0)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 88d59f4..255b6a3 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py @@ -2846,6 +2846,7 @@ if toastermain.settings.MANAGED: { 'name': 'Machine', 'orderfield': _get_toggle_order(request, "name"), 'ordericon' : _get_toggle_order_icon(request, "name"), + 'orderkey' : "name", }, { 'name': 'Description', 'dclass': 'span5', @@ -2855,6 +2856,7 @@ if toastermain.settings.MANAGED: 'clclass': 'layer', 'orderfield': _get_toggle_order(request, "layer_version__layer__name"), 'ordericon' : _get_toggle_order_icon(request, "layer_version__layer__name"), + 'orderkey' : "layer_version__layer__name", }, { 'name': 'Layer source', 'clclass': 'source', |