diff options
| author | 2024-12-03 12:59:45 +0100 | |
|---|---|---|
| committer | 2024-12-03 12:59:45 +0100 | |
| commit | 2c7e5b829fb60e2b62771e918b91c1f86aedb2f0 (patch) | |
| tree | c475f95e78e8b7c0e917aea00fa0aae2f3eb26b1 /app/Controllers | |
| parent | b84cbce9056989f9936240809cbe156c2e6b4759 (diff) | |
New button to delete errored feeds from a category (#7030)
* New button to delete errored feeds from a category
fix https://github.com/FreshRSS/FreshRSS/issues/7025
fix https://github.com/FreshRSS/FreshRSS/issues/7026
* Remove English TODO
* in error state
* Feeds with errors
Diffstat (limited to 'app/Controllers')
| -rw-r--r-- | app/Controllers/categoryController.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Controllers/categoryController.php b/app/Controllers/categoryController.php index 181c4d811..8b42e372a 100644 --- a/app/Controllers/categoryController.php +++ b/app/Controllers/categoryController.php @@ -229,11 +229,12 @@ class FreshRSS_category_Controller extends FreshRSS_ActionController { } $muted = Minz_Request::paramTernary('muted'); + $errored = Minz_Request::paramTernary('errored'); // List feeds to remove then related user queries. - $feeds = $feedDAO->listByCategory($id, $muted); + $feeds = $feedDAO->listByCategory($id, $muted, $errored); - if ($feedDAO->deleteFeedByCategory($id, $muted)) { + if ($feedDAO->deleteFeedByCategory($id, $muted, $errored)) { // TODO: Delete old favicons // Remove related queries |
