mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 21:12:20 +01:00
fix(threads): Fix compatibility with Oracle
> oci_execute(): ORA-00918: column ambiguously defined Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
0f9760d351
commit
b8fd26a634
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ class ThreadService {
|
|||
$limit = min(100, max(1, $limit));
|
||||
|
||||
$query = $this->connection->getQueryBuilder();
|
||||
$query->select('a.*', 't.*')
|
||||
$query->select('a.*', 't.last_message_id', 't.num_replies', 't.last_activity', 't.name')
|
||||
->selectAlias('t.id', 't_id')
|
||||
->from('talk_thread_attendees', 'a')
|
||||
->leftJoin('a', 'talk_threads', 't', $query->expr()->eq('a.thread_id', 't.id'))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue