diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index ea47d96eea..9f35062925 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -1261,6 +1261,11 @@ def configvars(request, build_id): | |||
1261 | 1261 | ||
1262 | variables = _build_page_range(Paginator(queryset, pagesize), request.GET.get('page', 1)) | 1262 | variables = _build_page_range(Paginator(queryset, pagesize), request.GET.get('page', 1)) |
1263 | 1263 | ||
1264 | layers = Layer.objects.filter(layer_version_layer__projectlayer__project__build=build_id).order_by("-name") | ||
1265 | layer_names = map(lambda layer : layer.name, layers) | ||
1266 | # special case for meta built-in layer | ||
1267 | layer_names.append('meta') | ||
1268 | |||
1264 | # show all matching files (not just the last one) | 1269 | # show all matching files (not just the last one) |
1265 | file_filter= search_term + ":" | 1270 | file_filter= search_term + ":" |
1266 | if filter_string.find('/conf/') > 0: | 1271 | if filter_string.find('/conf/') > 0: |
@@ -1283,6 +1288,7 @@ def configvars(request, build_id): | |||
1283 | 'total_count':queryset_with_search.count(), | 1288 | 'total_count':queryset_with_search.count(), |
1284 | 'default_orderby' : 'variable_name:+', | 1289 | 'default_orderby' : 'variable_name:+', |
1285 | 'search_term':search_term, | 1290 | 'search_term':search_term, |
1291 | 'layer_names' : layer_names, | ||
1286 | # Specifies the display of columns for the table, appearance in "Edit columns" box, toggling default show/hide, and specifying filters for columns | 1292 | # Specifies the display of columns for the table, appearance in "Edit columns" box, toggling default show/hide, and specifying filters for columns |
1287 | 'tablecols' : [ | 1293 | 'tablecols' : [ |
1288 | {'name': 'Variable', | 1294 | {'name': 'Variable', |