mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 22:11:36 +01:00
Merge remote-tracking branch 'origin/3.3' into 3.4
Conflicts: htdocs/comm/action/listactions.php htdocs/core/class/commonobject.class.php htdocs/core/lib/agenda.lib.php htdocs/product/liste.php
This commit is contained in:
@@ -1078,8 +1078,7 @@ abstract class CommonObject
|
||||
// We first search all lines that are parent lines (for multilevel details lines)
|
||||
$sql = 'SELECT rowid FROM '.MAIN_DB_PREFIX.$this->table_element_line;
|
||||
$sql.= ' WHERE '.$this->fk_element.' = '.$this->id;
|
||||
if ($fk_parent_line)
|
||||
$sql.= ' AND fk_parent_line IS NULL';
|
||||
if ($fk_parent_line) $sql.= ' AND fk_parent_line IS NULL';
|
||||
$sql.= ' ORDER BY rang ASC, rowid '.$rowidorder;
|
||||
|
||||
dol_syslog(get_class($this)."::line_order search all parent lines sql=".$sql, LOG_DEBUG);
|
||||
|
||||
Reference in New Issue
Block a user