Skip to content

Commit

Permalink
Fix authors field in articles listing [WEB-2984]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiltri committed Jan 17, 2025
1 parent dd94d42 commit cc94996
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Models/Behaviors/HasAuthors.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public function showAuthors()
}
}

public function getAuthorAttribute() {
return $this->showAuthors();
}

/**
* Meant for sidebar.
*/
Expand Down

0 comments on commit cc94996

Please sign in to comment.