diff --git a/boot.php b/boot.php
index 00dfcd6..5929cb5 100644
--- a/boot.php
+++ b/boot.php
@@ -14,6 +14,10 @@
'rex_neues_author',
neues_author::class,
);
+ rex_yform_manager_dataset::setModelClass(
+ 'rex_neues_entry_lang',
+ neues_entry_lang::class,
+ );
}
@@ -81,6 +85,8 @@
'rex_neues_category' => [
'id',
'name',
+ 'description',
+ 'status',
],
],
],
@@ -144,9 +150,10 @@ static function ($a) {
$category_ids = array_filter(array_map('intval', explode(',', $a['value'])));
foreach ($category_ids as $category_id) {
- $neues = neues_category::get($category_id);
- if ($neues) {
- $return[] = '' . $neues->getName() . '';
+ /* @var $neues_category neues_category */
+ $neues_category = neues_category::get($category_id);
+ if ($neues_category) {
+ $return[] = '' . $neues_category->getName() . '';
}
}
return implode('
', $return);