diff options
| author | 2014-09-18 21:06:38 -0400 | |
|---|---|---|
| committer | 2014-09-18 21:15:20 -0400 | |
| commit | 71617080e224b8d3a3397a27b78e1f509499431c (patch) | |
| tree | af80661f33e9e79ab4f15f5ac82e36a9cf24cabd /app/Models/Entry.php | |
| parent | 2f5304a1f7052bce1315f2ed85141568f0995e7c (diff) | |
Refactor code for strict unread message display
Before, when you choose the show unread message option and the hide categories and feeds options, the categories and feeds weren't hidden. Now it is working properly.
Before, the unread filter icon was not selected with the previous way of using the constants. Now, the filter is highlighted when selected in strict mode.
See #619
Diffstat (limited to 'app/Models/Entry.php')
| -rw-r--r-- | app/Models/Entry.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php index 5f1c8abc4..9d7dd5dc4 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -6,8 +6,7 @@ class FreshRSS_Entry extends Minz_Model { const STATE_NOT_READ = 2; const STATE_FAVORITE = 4; const STATE_NOT_FAVORITE = 8; - const STATE_READ_STRICT = 16; - const STATE_NOT_READ_STRICT = 32; + const STATE_STRICT = 16; private $id = 0; private $guid; |
