mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
views: fix incorrect class usage in ClassSearchView
This was copy-pasted from the DistroSearchView and I clearly forgot to replace the reference here. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
0bfb98971c
commit
5d7cf9e5ae
|
@ -807,7 +807,7 @@ class ClassSearchView(ListView):
|
|||
return init_qs.order_by('name', 'layerbranch__layer')
|
||||
|
||||
# Be consistent with RecipeSearchView
|
||||
return Distro.objects.none()
|
||||
return BBClass.objects.none()
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(ClassSearchView, self).get_context_data(**kwargs)
|
||||
|
|
Loading…
Reference in New Issue
Block a user