v1.5.24bb Added comments

This commit is contained in:
2021-05-21 12:28:38 +02:00
parent 20fe7dbcee
commit 3b0b2ff759
7 changed files with 99 additions and 8 deletions
@@ -33,7 +33,7 @@ class NewsController extends Controller
*/
public function index(Request $request)
{
//Edit is fuck cuz of my inner join, has to get fixed at som point
//joining news and news_types
$news = News::query()
->join("news_types", "news.type_id", "=", "news_types.id")
->orderBy('id', 'desc')