1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

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>
This commit is contained in:
Michael Wood
2015-07-31 15:09:09 +03:00
committed by Richard Purdie
parent 8ff56b0fb3
commit 7a589c0b20
+5
View File
@@ -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)