Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions openadapt/db/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
from openadapt.db.db import Session, get_read_only_session_maker
from openadapt.models import (
ActionEvent,
BrowserEvent,
AudioInfo,
BrowserEvent,
MemoryStat,
PerformanceStat,
Recording,
Expand Down Expand Up @@ -573,8 +573,8 @@ def get_screenshots(
session.query(Screenshot)
.filter(Screenshot.recording_id == recording.id)
.options(
joinedload(Screenshot.action_event).joinedload(ActionEvent.recording),
subqueryload(Screenshot.action_event).joinedload(ActionEvent.screenshot),
subqueryload(Screenshot.action_event).subqueryload(ActionEvent.recording),
subqueryload(Screenshot.action_event).subqueryload(ActionEvent.screenshot),
subqueryload(Screenshot.recording),
)
.order_by(Screenshot.timestamp)
Expand Down
Loading