mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
Exclude "Distro-specific" from "unknown/not available" in other distro search
If you're searching for items that are of status "unknown/not available" in the other distro packages, you're usually doing so to find things that haven't been dispositioned. Originally I had included them here because the "available" status correctly excludes items with the "distro-specific" status and "unknown/not available" seemed like it should be the inverse, but usage seems to require that it not be. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
eaae0d8b02
commit
3c25eda61e
|
@ -1140,7 +1140,7 @@ class ClassicRecipeSearchView(RecipeSearchView):
|
||||||
cover_null = False
|
cover_null = False
|
||||||
if cover_status:
|
if cover_status:
|
||||||
if cover_status == '!':
|
if cover_status == '!':
|
||||||
init_qs = init_qs.filter(cover_status__in=['U', 'N', 'S'])
|
init_qs = init_qs.filter(cover_status__in=['U', 'N'])
|
||||||
elif cover_status == '#':
|
elif cover_status == '#':
|
||||||
init_qs = init_qs.exclude(cover_status__in=['U', 'N', 'S'])
|
init_qs = init_qs.exclude(cover_status__in=['U', 'N', 'S'])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user