소스 검색

[ENTITY][Actor] fix typo in findRelativeActors query

v3
부모
커밋
05758c999f
로그인 계정: diogo <mail@diogo.site> GPG 키 ID: 18D2D35001FBFAB0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/Entity/Actor.php

+ 2
- 2
src/Entity/Actor.php 파일 보기

@@ -334,8 +334,8 @@ class Actor extends Entity
fn () => DB::dql(
<<<'EOF'
select a from actor a where
a.id in (select fa.subscibed from subscription fa join actor aa with fa.subscibed = aa.id where fa.subsciber = :actor_id and aa.nickname = :nickname) or
a.id in (select fb.subsciber from subscription fb join actor ab with fb.subsciber = ab.id where fb.subscibed = :actor_id and ab.nickname = :nickname) or
a.id in (select fa.subscribed from subscription fa join actor aa with fa.subscribed = aa.id where fa.subscriber = :actor_id and aa.nickname = :nickname) or
a.id in (select fb.subscriber from subscription fb join actor ab with fb.subscriber = ab.id where fb.subscribed = :actor_id and ab.nickname = :nickname) or
a.nickname = :nickname
EOF,
['nickname' => $nickname, 'actor_id' => $this->getId()],


불러오는 중...
취소
저장