summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-02-05 18:50:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-10 23:07:50 +0000
commit2a3ca552ce09131c7f2806d9dc38da33a8a036e5 (patch)
treed124f67b264d5e3727746668fb4a57a897834c22 /bitbake/lib/toaster
parent203ac2937c80b4e5960ea981971d9dbf4ddcd564 (diff)
downloadpoky-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/lib/toaster')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 88d59f4136..255b6a370d 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2846,6 +2846,7 @@ if toastermain.settings.MANAGED:
2846 { 'name': 'Machine', 2846 { 'name': 'Machine',
2847 'orderfield': _get_toggle_order(request, "name"), 2847 'orderfield': _get_toggle_order(request, "name"),
2848 'ordericon' : _get_toggle_order_icon(request, "name"), 2848 'ordericon' : _get_toggle_order_icon(request, "name"),
2849 'orderkey' : "name",
2849 }, 2850 },
2850 { 'name': 'Description', 2851 { 'name': 'Description',
2851 'dclass': 'span5', 2852 'dclass': 'span5',
@@ -2855,6 +2856,7 @@ if toastermain.settings.MANAGED:
2855 'clclass': 'layer', 2856 'clclass': 'layer',
2856 'orderfield': _get_toggle_order(request, "layer_version__layer__name"), 2857 'orderfield': _get_toggle_order(request, "layer_version__layer__name"),
2857 'ordericon' : _get_toggle_order_icon(request, "layer_version__layer__name"), 2858 'ordericon' : _get_toggle_order_icon(request, "layer_version__layer__name"),
2859 'orderkey' : "layer_version__layer__name",
2858 }, 2860 },
2859 { 'name': 'Layer source', 2861 { 'name': 'Layer source',
2860 'clclass': 'source', 2862 'clclass': 'source',