From a1fc14f8c4361433b3025479321949d7826bc721 Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Wed, 19 Jun 2024 20:00:30 +1000 Subject: [PATCH] Fix join function for studio scenes_filter handler (#4994) --- pkg/sqlite/studio_filter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sqlite/studio_filter.go b/pkg/sqlite/studio_filter.go index 040fc1858..c514364c4 100644 --- a/pkg/sqlite/studio_filter.go +++ b/pkg/sqlite/studio_filter.go @@ -90,7 +90,7 @@ func (qb *studioFilterHandler) criterionHandler() criterionHandler { relatedRepo: sceneRepository.repository, relatedHandler: &sceneFilterHandler{studioFilter.ScenesFilter}, joinFn: func(f *filterBuilder) { - sceneRepository.innerJoin(f, "", "studios.id") + studioRepository.scenes.innerJoin(f, "", "studios.id") }, },