We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f7770c commit b129c58Copy full SHA for b129c58
1 file changed
docia/views.py
@@ -31,7 +31,7 @@ def home(request):
31
if not user_can_view_ej(request.user, num_ej):
32
logger.warning(f"PermissionDenied: User {request.user.email} cannot view EJ {num_ej}")
33
else:
34
- db_docs = DataAttachments.objects.filter(num_ej=form.cleaned_data["num_ej"])
+ db_docs = DataAttachments.objects.filter(ej_id=form.cleaned_data["num_ej"])
35
db_docs = db_docs.order_by("classification")
36
for db_doc in db_docs:
37
llm_response = db_doc.llm_response or {}
0 commit comments