mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
* Timesheet: fix SQL error searching, if there are custom-fields
This commit is contained in:
parent
a639a9aee3
commit
af88cc0822
@ -167,7 +167,6 @@ class timesheet_bo extends Api\Storage
|
|||||||
{
|
{
|
||||||
parent::__construct(TIMESHEET_APP,'egw_timesheet',self::EXTRA_TABLE,'','ts_extra_name','ts_extra_value','ts_id');
|
parent::__construct(TIMESHEET_APP,'egw_timesheet',self::EXTRA_TABLE,'','ts_extra_name','ts_extra_value','ts_id');
|
||||||
|
|
||||||
if ($this->customfields) $this->columns_to_search[] = self::EXTRA_TABLE.'.ts_extra_value';
|
|
||||||
$this->config_data = Api\Config::read(TIMESHEET_APP);
|
$this->config_data = Api\Config::read(TIMESHEET_APP);
|
||||||
$this->quantity_sum = $this->config_data['quantity_sum'] == 'true';
|
$this->quantity_sum = $this->config_data['quantity_sum'] == 'true';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user