New field "publish" for channels

This commit is contained in:
Michael 2024-01-07 18:36:47 +00:00
parent 08738e6551
commit c4b85ef25a
11 changed files with 162 additions and 122 deletions

View file

@ -2128,12 +2128,11 @@ class Item
}
}
$result = self::compactLanguages($result);
if (empty($result)) {
return $default;
}
$result = self::compactLanguages($result);
arsort($result);
return array_slice($result, 0, $count);
}