mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
Fix #1828 increase range of RSS document count and set sensible defaults
This commit is contained in:
parent
7e9e33765c
commit
9b794c6df2
3 changed files with 7 additions and 3 deletions
|
|
@ -140,7 +140,7 @@ class rssView extends rss
|
|||
$args->search_keyword = 'N';
|
||||
$args->page = $page > 0 ? $page : 1;
|
||||
$args->module_srl = array_keys($target_modules);
|
||||
$args->list_count = $config->feed_document_count;
|
||||
$args->list_count = $config->feed_document_count > 0 ? $config->feed_document_count : 20;
|
||||
$args->sort_index = 'regdate';
|
||||
$args->order_type = 'desc';
|
||||
$document_list = getModel('document')->getDocumentList($args)->data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue