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/Configuration.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/Configuration.php')
| -rw-r--r-- | app/Models/Configuration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Configuration.php b/app/Models/Configuration.php index f94d82402..ea1556cbb 100644 --- a/app/Models/Configuration.php +++ b/app/Models/Configuration.php @@ -147,7 +147,7 @@ class FreshRSS_Configuration { // left blank on purpose case FreshRSS_Entry::STATE_NOT_READ: // left blank on purpose - case FreshRSS_Entry::STATE_NOT_READ_STRICT: + case FreshRSS_Entry::STATE_STRICT + FreshRSS_Entry::STATE_NOT_READ: $this->data['default_view'] = $value; break; default: |
