diff --git a/modules/newsadmin/models/Article.php b/modules/newsadmin/models/Article.php
index <HASH>..<HASH> 100644
--- a/modules/newsadmin/models/Article.php
+++ b/modules/newsadmin/models/Article.php
@@ -83,6 +83,12 @@ class Article extends \admin\ngrest\base\Model
         return $articles;
     }
 
+    public function getCategoryName() {
+        $catModel = Cat::find()->where(['id' => $this->cat_id])->one();
+
+        return $catModel->title;
+    }
+
     // ngrest
 
     public $tags = []; // cause of extra fields - will pe parsed trough the ngrest plugins.
added fun for getting category title via news article model