diff options
| -rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index fa34e5622f..e87c9f2890 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
| @@ -1924,8 +1924,8 @@ if toastermain.settings.MANAGED: | |||
| 1924 | 'filter' : {'class' : 'outcome', | 1924 | 'filter' : {'class' : 'outcome', |
| 1925 | 'label': 'Show:', | 1925 | 'label': 'Show:', |
| 1926 | 'options' : [ | 1926 | 'options' : [ |
| 1927 | ('Successful builds', 'state:' + str(BuildRequest.REQ_COMPLETED), queryset_all.filter(state=str(BuildRequest.REQ_COMPLETED)).count()), # this is the field search expression | 1927 | ('Successful builds', 'build__outcome:' + str(Build.SUCCEEDED), queryset_all.filter(build__outcome = Build.SUCCEEDED).count()), # this is the field search expression |
| 1928 | ('Failed builds', 'state:'+ str(BuildRequest.REQ_FAILED), queryset_all.filter(state=str(BuildRequest.REQ_FAILED)).count()), | 1928 | ('Failed builds', 'build__outcome:NOT'+ str(Build.SUCCEEDED), queryset_all.exclude(build__outcome = Build.SUCCEEDED).count()), |
| 1929 | ] | 1929 | ] |
| 1930 | } | 1930 | } |
| 1931 | }, | 1931 | }, |
