diff options
| author | 2025-09-14 22:36:01 +0200 | |
|---|---|---|
| committer | 2025-09-14 22:36:01 +0200 | |
| commit | 29446a29f58b484817e6c9798c736e5f531c21ee (patch) | |
| tree | 0648fd296f4e12641d2d7e2ff1be56696dbea1f6 /app/Controllers/feedController.php | |
| parent | b8af8382f0978d19763a75032128fb623e4f9eb0 (diff) | |
Recovery: skip broken entries during CLI export/import (#7949)
* Recovery: skip broken entries during CLI export/import
fix https://github.com/FreshRSS/FreshRSS/discussions/7927
```
25605/25605 (48 broken)
```
Help with *database malformed* or other corruption.
* Compatibility multiple databases
Diffstat (limited to 'app/Controllers/feedController.php')
| -rw-r--r-- | app/Controllers/feedController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php index 4884b237f..a7c1d15bc 100644 --- a/app/Controllers/feedController.php +++ b/app/Controllers/feedController.php @@ -813,7 +813,7 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController { $entryDAO = FreshRSS_Factory::createEntryDao(); $applyLabels = []; - foreach (FreshRSS_Entry::fromTraversable($entryDAO->selectAll($nbNewEntries)) as $entry) { + foreach (FreshRSS_Entry::fromTraversable($entryDAO->selectAll(order: 'DESC', limit: $nbNewEntries)) as $entry) { foreach ($labels as $label) { $label->applyFilterActions($entry, $applyLabel); if ($applyLabel) { |
