diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/toastergui/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index d323b37013..4f7170b516 100644 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -646,7 +646,7 @@ def _get_dir_entries(build_id, target_id, start): | |||
646 | if o.inodetype == Target_File.ITYPE_DIRECTORY: | 646 | if o.inodetype == Target_File.ITYPE_DIRECTORY: |
647 | entry['isdir'] = 1 | 647 | entry['isdir'] = 1 |
648 | # is there content in directory | 648 | # is there content in directory |
649 | entry['childcount'] = Target_File.objects.filter(directory__path=o.path).all().count() | 649 | entry['childcount'] = Target_File.objects.filter(target__exact=target_id, directory__path=o.path).all().count() |
650 | else: | 650 | else: |
651 | entry['isdir'] = 0 | 651 | entry['isdir'] = 0 |
652 | 652 | ||