summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/tables.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-09-29 10:50:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-29 14:11:38 +0100
commitf902dc646dbfdf31fded69a425fb88944a7d8fe3 (patch)
treeb02530f2447725458a042103fb64fc765453e291 /bitbake/lib/toaster/toastergui/tables.py
parentfe29297c6a4e3096b0bdecde62a594a8e68f79c5 (diff)
downloadpoky-f902dc646dbfdf31fded69a425fb88944a7d8fe3.tar.gz
bitbake: toaster: orm remove the complicated querying on the ORM
We no longer need to compute each layer_version and all the recipes which belong to this. [YOCTO #8147] (Bitbake rev: 505979ab931e3a2a218d7030d6064987e8f9ff14) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/tables.py')
-rw-r--r--bitbake/lib/toaster/toastergui/tables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
index 3354072e13..5cc04a2372 100644
--- a/bitbake/lib/toaster/toastergui/tables.py
+++ b/bitbake/lib/toaster/toastergui/tables.py
@@ -221,7 +221,7 @@ class MachinesTable(ToasterTable, ProjectFiltersMixin):
221 221
222 def setup_filters(self, *args, **kwargs): 222 def setup_filters(self, *args, **kwargs):
223 project = Project.objects.get(pk=kwargs['pid']) 223 project = Project.objects.get(pk=kwargs['pid'])
224 self.project_layers = project.projectlayer_equivalent_set() 224 self.project_layers = project.get_project_layer_versions()
225 225
226 self.add_filter(title="Filter by project machines", 226 self.add_filter(title="Filter by project machines",
227 name="in_current_project", 227 name="in_current_project",