mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-24 08:14:56 -04:00
Add a new status for 'ALL'
I made the conversion in every file I can think of. It should not have any reference to the string 'all' for the state context
This commit is contained in:
@@ -370,7 +370,7 @@ class FreshRSS_importExport_Controller extends Minz_ActionController {
|
||||
$this->view->type = 'starred';
|
||||
$unread_fav = $this->entryDAO->countUnreadReadFavorites();
|
||||
$this->view->entries = $this->entryDAO->listWhere(
|
||||
's', '', 'all', 'ASC',
|
||||
's', '', FreshRSS_Configuration::STATE_ALL, 'ASC',
|
||||
$unread_fav['all']
|
||||
);
|
||||
} elseif ($type == 'feed' && !is_null($feed)) {
|
||||
@@ -379,7 +379,7 @@ class FreshRSS_importExport_Controller extends Minz_ActionController {
|
||||
);
|
||||
$this->view->type = 'feed/' . $feed->id();
|
||||
$this->view->entries = $this->entryDAO->listWhere(
|
||||
'f', $feed->id(), 'all', 'ASC',
|
||||
'f', $feed->id(), FreshRSS_Configuration::STATE_ALL, 'ASC',
|
||||
$this->view->conf->posts_per_page
|
||||
);
|
||||
$this->view->feed = $feed;
|
||||
|
||||
Reference in New Issue
Block a user