mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Fix #1214 add option to display the first page of comments by default
This commit is contained in:
parent
676781a83e
commit
b8665d73cb
5 changed files with 26 additions and 1 deletions
|
|
@ -1747,6 +1747,12 @@ class commentController extends comment
|
|||
$comment_config->comment_page_count = 10;
|
||||
}
|
||||
|
||||
$comment_config->default_page = Context::get('default_page');
|
||||
if($comment_config->default_page !== 'first')
|
||||
{
|
||||
$comment_config->default_page = 'last';
|
||||
}
|
||||
|
||||
$comment_config->use_vote_up = Context::get('use_vote_up');
|
||||
if(!$comment_config->use_vote_up)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue