aboutsummaryrefslogtreecommitdiffstats
path: root/src/booking/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/booking/views.py')
-rw-r--r--src/booking/views.py2
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)
)