diff options
Diffstat (limited to 'src/booking/views.py')
-rw-r--r-- | src/booking/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/booking/views.py b/src/booking/views.py index 2b910e7..ea038dd 100644 --- a/src/booking/views.py +++ b/src/booking/views.py @@ -138,7 +138,7 @@ def build_image_mapping(lab, user): for profile in ResourceProfile.objects.filter(labs=lab): images = Image.objects.filter( from_lab=lab, - host_type=profile + architecture=profile.architecture ).filter( Q(public=True) | Q(owner=user) ) |