mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 10:14:39 +00:00
Added chore name when getting list of all chores. (#592)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user