CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#10497] News can't display only one item per page

avatar
Created By: jean-christophe ghio (jissey)
Date Submitted: Mon Apr 20 06:50:33 -0400 2015

Assigned To:
Version: 1.12
CMSMS Version: 1.12
Severity: None
Resolution: Fixed
State: Closed
Summary:
News can't display only one item per page
Detailed Description:
Hi, 
the summary template of news module display at least 2 articles even if number=1
It come from the line 186 of action.default.php :
  $pagelimit = max(2,min(1000,$pagelimit)); // maximum of 1000 entries.
should be :
  $pagelimit = max(1,min(1000,$pagelimit)); // maximum of 1000 entries.


History

Comments
avatar
Date: 2015-05-19 13:29
Posted By: Robert Campbell (calguy1000)

fixed in svn, thanks.
      
avatar
Date: 2015-09-06 12:59
Posted By: Rolf (rolf1)

CMS Made Simple 1.12.1 and 2.0 are released
      
Updates

Updated: 2015-09-06 12:59
state: Open => Closed

Updated: 2015-05-19 13:29
resolution_id: 5 => 7

Updated: 2015-04-20 06:51
summary: News can't display one item. => News can't display only one item per page
resolution_id: => 5