From 7a589c0b206a999e892825a9f9afb290abe1ed1a Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Fri, 31 Jul 2015 15:09:09 +0300 Subject: bitbake: toastergui: tables Add name field to layers table This field is required by the typeahead in the new project page to do the name matching on. (Bitbake rev: dbce3b43094b0a123b0d63aa07cc4f9547630094) Signed-off-by: Michael Wood Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/tables.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bitbake/lib/toaster/toastergui/tables.py') diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py index 782ae80dc2..8d5166be55 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py @@ -196,6 +196,11 @@ class LayersTable(ToasterTable): field_name="layerdetailurl", computation = lambda x: reverse('layerdetails', args=(project.id, x.id))) + self.add_column(title="name", + displayable = False, + field_name="name", + computation = lambda x: x.layer.name) + -- cgit v1.2.3-54-g00ecf