调整 ShotTypeInfo shots返回

FFIB %!s(int64=4) %!d(string=hace) años
padre
commit
e806d068ec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      member/models.py

+ 1 - 1
member/models.py

@@ -314,7 +314,7 @@ class ShotTypeInfo(BaseModelMixin):
314 314
 
315 315
     @property
316 316
     def shots(self):
317
-        models = ModelInfo.objects.filter(shot_type_id=self.shot_type_id, status=True)
317
+        models = ModelInfo.objects.filter(shot_type_id=self.shot_type_id, status=True, is_show_shot=True)
318 318
         return [model.member_shot_data for model in models]
319 319
 
320 320
     @property