aboutsummaryrefslogtreecommitdiff
path: root/app/Services
diff options
context:
space:
mode:
Diffstat (limited to 'app/Services')
-rw-r--r--app/Services/ExportService.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Services/ExportService.php b/app/Services/ExportService.php
index 076524625..e9acda614 100644
--- a/app/Services/ExportService.php
+++ b/app/Services/ExportService.php
@@ -69,11 +69,11 @@ class FreshRSS_Export_Service {
$view->list_title = _t('sub.import_export.starred_list');
$view->type = 'starred';
- $entriesId = $this->entry_dao->listIdsWhere($type, 0, FreshRSS_Entry::STATE_ALL, 'ASC', -1) ?? [];
+ $entriesId = $this->entry_dao->listIdsWhere($type, 0, FreshRSS_Entry::STATE_ALL, order: 'ASC', limit: -1) ?? [];
$view->entryIdsTagNames = $this->tag_dao->getEntryIdsTagNames($entriesId);
// The following is a streamable query, i.e. must be last
$view->entries = $this->entry_dao->listWhere(
- $type, 0, FreshRSS_Entry::STATE_ALL, 'ASC', -1
+ $type, 0, FreshRSS_Entry::STATE_ALL, order: 'ASC', limit: -1
);
return [
@@ -103,12 +103,12 @@ class FreshRSS_Export_Service {
$view->list_title = _t('sub.import_export.feed_list', $feed->name());
$view->type = 'feed/' . $feed->id();
$entriesId = $this->entry_dao->listIdsWhere(
- 'f', $feed->id(), FreshRSS_Entry::STATE_ALL, 'ASC', $max_number_entries
+ 'f', $feed->id(), FreshRSS_Entry::STATE_ALL, order: 'ASC', limit: $max_number_entries
) ?? [];
$view->entryIdsTagNames = $this->tag_dao->getEntryIdsTagNames($entriesId);
// The following is a streamable query, i.e. must be last
$view->entries = $this->entry_dao->listWhere(
- 'f', $feed->id(), FreshRSS_Entry::STATE_ALL, 'ASC', $max_number_entries
+ 'f', $feed->id(), FreshRSS_Entry::STATE_ALL, order: 'ASC', limit: $max_number_entries
);
return [