mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
fix: rename field status to task_status to get scheduled activities
fix: load css using vite service for page view
This commit is contained in:
parent
a78cacd3aa
commit
4ff82a5f0a
@ -113,7 +113,7 @@ class ActivityModel extends UuidModel
|
|||||||
public function getScheduledActivities(): array
|
public function getScheduledActivities(): array
|
||||||
{
|
{
|
||||||
return $this->where('`scheduled_at` <= NOW()', null, false)
|
return $this->where('`scheduled_at` <= NOW()', null, false)
|
||||||
->where('status', 'queued')
|
->where('task_status', 'queued')
|
||||||
->orderBy('scheduled_at', 'ASC')
|
->orderBy('scheduled_at', 'ASC')
|
||||||
->findAll();
|
->findAll();
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<title><?= $page->title ?></title>
|
<title><?= $page->title ?></title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
|
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
|
||||||
<link rel="stylesheet" href="/assets/index.css"/>
|
<?= service('vite')->asset('styles/index.css', 'css') ?>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="flex flex-col min-h-screen mx-auto">
|
<body class="flex flex-col min-h-screen mx-auto">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user