diff --git a/src/Models/Category.php b/src/Models/Category.php index 2cd6e81f..0bbbd656 100755 --- a/src/Models/Category.php +++ b/src/Models/Category.php @@ -12,7 +12,7 @@ class Category extends Model public function discussions() { - return $this->hasMany(Models::className(Discussion::class)); + return $this->hasMany(Models::className(Discussion::class),'chatter_category_id'); } public function parents()