Skip to content

Commit b129c58

Browse files
committed
Fix view
1 parent 7f7770c commit b129c58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docia/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def home(request):
3131
if not user_can_view_ej(request.user, num_ej):
3232
logger.warning(f"PermissionDenied: User {request.user.email} cannot view EJ {num_ej}")
3333
else:
34-
db_docs = DataAttachments.objects.filter(num_ej=form.cleaned_data["num_ej"])
34+
db_docs = DataAttachments.objects.filter(ej_id=form.cleaned_data["num_ej"])
3535
db_docs = db_docs.order_by("classification")
3636
for db_doc in db_docs:
3737
llm_response = db_doc.llm_response or {}

0 commit comments

Comments
 (0)