зеркало из https://github.com/nextcloud/activity.git
Merge pull request #46 from owncloud/fix-multi-grouping
Fix grouping with same file
This commit is contained in:
Коммит
03868adec4
|
@ -59,7 +59,9 @@ class GroupHelper
|
|||
if (!is_array($this->openGroup['subjectparams_array'][$parameter])) {
|
||||
$this->openGroup['subjectparams_array'][$parameter] = array($this->openGroup['subjectparams_array'][$parameter]);
|
||||
}
|
||||
|
||||
$this->openGroup['subjectparams_array'][$parameter][] = $activity['subjectparams_array'][$parameter];
|
||||
$this->openGroup['subjectparams_array'][$parameter] = array_unique($this->openGroup['subjectparams_array'][$parameter]);
|
||||
}
|
||||
} else {
|
||||
if (!empty($this->openGroup)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче