diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-07-31 15:09:09 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 11:26:11 +0100 |
commit | 7a589c0b206a999e892825a9f9afb290abe1ed1a (patch) | |
tree | f38fc4c03d23944dc92d3e86c7fcd81de912e428 /bitbake/lib/toaster | |
parent | 8ff56b0fb3c3a946644c00b0f49a4388f0180b44 (diff) | |
download | poky-7a589c0b206a999e892825a9f9afb290abe1ed1a.tar.gz |
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 <michael.g.wood@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tables.py | 5 |
1 files changed, 5 insertions, 0 deletions
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): | |||
196 | field_name="layerdetailurl", | 196 | field_name="layerdetailurl", |
197 | computation = lambda x: reverse('layerdetails', args=(project.id, x.id))) | 197 | computation = lambda x: reverse('layerdetails', args=(project.id, x.id))) |
198 | 198 | ||
199 | self.add_column(title="name", | ||
200 | displayable = False, | ||
201 | field_name="name", | ||
202 | computation = lambda x: x.layer.name) | ||
203 | |||
199 | 204 | ||
200 | 205 | ||
201 | 206 | ||