mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Added chore name when getting list of all chores. (#592)
This commit is contained in:
parent
8be14768df
commit
b0ddc026f8
|
|
@ -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