mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 10:46:43 +02:00
style: update ecs config to align associative arrays arrows
update composer dependencies to latest
This commit is contained in:
parent
3fc1d8e18d
commit
2a50f6e4d2
268 changed files with 3833 additions and 3973 deletions
|
|
@ -50,7 +50,7 @@ class AnalyticsPodcastModel extends Model
|
|||
$found = $this->select('date as labels, hits as values')
|
||||
->where([
|
||||
'podcast_id' => $podcastId,
|
||||
'date >' => date('Y-m-d', strtotime('-60 days')),
|
||||
'date >' => date('Y-m-d', strtotime('-60 days')),
|
||||
])
|
||||
->orderBy('labels', 'ASC')
|
||||
->findAll();
|
||||
|
|
@ -74,7 +74,7 @@ class AnalyticsPodcastModel extends Model
|
|||
->selectSum('hits', 'values')
|
||||
->where([
|
||||
'podcast_id' => $podcastId,
|
||||
'date >' => date('Y-m-d', strtotime('-60 days')),
|
||||
'date >' => date('Y-m-d', strtotime('-60 days')),
|
||||
])
|
||||
->groupBy('labels, sort_labels')
|
||||
->orderBy('sort_labels', 'ASC')
|
||||
|
|
@ -98,7 +98,7 @@ class AnalyticsPodcastModel extends Model
|
|||
$found = $this->select('date as labels, ROUND(bandwidth / 1000000, 2) as `values`')
|
||||
->where([
|
||||
'podcast_id' => $podcastId,
|
||||
'date >' => date('Y-m-d', strtotime('-60 days')),
|
||||
'date >' => date('Y-m-d', strtotime('-60 days')),
|
||||
])
|
||||
->orderBy('labels', 'ASC')
|
||||
->findAll();
|
||||
|
|
@ -147,7 +147,7 @@ class AnalyticsPodcastModel extends Model
|
|||
$found = $this->select('date as labels, unique_listeners as values')
|
||||
->where([
|
||||
'podcast_id' => $podcastId,
|
||||
'date >' => date('Y-m-d', strtotime('-60 days')),
|
||||
'date >' => date('Y-m-d', strtotime('-60 days')),
|
||||
])
|
||||
->orderBy('labels', 'ASC')
|
||||
->findAll();
|
||||
|
|
@ -199,7 +199,7 @@ class AnalyticsPodcastModel extends Model
|
|||
->selectSum('duration', 'values')
|
||||
->where([
|
||||
$this->table . '.podcast_id' => $podcastId,
|
||||
'date >' => date('Y-m-d', strtotime('-60 days')),
|
||||
'date >' => date('Y-m-d', strtotime('-60 days')),
|
||||
])
|
||||
->groupBy('labels')
|
||||
->orderBy('labels', 'ASC')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue