Commits

Anonymous committed 172fd39

Missed a db call for filtering on active

  • Participants
  • Parent commits ad13572

Comments (0)

Files changed (1)

File djadora/views/browse.py

             resp = ""
         else:
             child_responses = []
-            for child in col.collection_children.all():
+            for child in col.collection_children.filter(objectstate='A'):
                 span = ''
                 if request.user.has_perm('djadora.can_view_phi'):
                     if child.contains_patient_info: