mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-14 18:23:52 -04:00
Add feed visibility filter to unread dates view (#8489)
* Add feed visibility filter to unread dates view * Date field sanitize
This commit is contained in:
committed by
GitHub
parent
6b5304b825
commit
f17ed2f7c8
@@ -257,7 +257,8 @@ class FreshRSS_stats_Controller extends FreshRSS_ActionController {
|
||||
if (!in_array($granularity, ['day', 'month', 'year'], true)) {
|
||||
$granularity = 'day';
|
||||
}
|
||||
$dates = $statsDAO->getMaxUnreadDates($field, $granularity, Minz_Request::paramInt('max') ?: 100);
|
||||
$dates = $statsDAO->getMaxUnreadDates($field, $granularity, Minz_Request::paramInt('max') ?: 100,
|
||||
Minz_Request::paramIntNull('min_priority') ?? FreshRSS_Feed::PRIORITY_HIDDEN);
|
||||
$this->view->unreadDates = $dates;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user