Fix join function for studio scenes_filter handler (#4994)

This commit is contained in:
WithoutPants 2024-06-19 20:00:30 +10:00 committed by GitHub
parent 9c13b39f99
commit a1fc14f8c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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")
},
},