mirror of
https://github.com/grocy/grocy.git
synced 2026-04-06 04:46:16 +02:00
Added chore name when getting list of all chores.
This commit is contained in:
parent
c38c519b18
commit
44f8070af9
|
|
@ -25,7 +25,7 @@ class ChoresService extends BaseService
|
|||
|
||||
public function GetCurrent()
|
||||
{
|
||||
$sql = 'SELECT * from chores_current';
|
||||
$sql = 'SELECT chores_current.*, chores.name from chores_current join chores on chores_current.chore_id = chores.id';
|
||||
return $this->getDatabaseService()->ExecuteDbQuery($sql)->fetchAll(\PDO::FETCH_OBJ);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user