zero based NavigatorLabel
-------------------------

                 Key: WICKET-3486
                 URL: https://issues.apache.org/jira/browse/WICKET-3486
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.5-RC2, 1.5-RC1, 1.5-M3, 1.5-M2.1, 1.5-M1
            Reporter: Alexander Mayer


after WICKET-2816 NavigatorLabel.getFrom() now zero based
please return "+1" in this method:

public int getFrom() {
        if (getOf() == 0) {
                return 0;
        }
        return pageable.getCurrentPage() * pageable.getItemsPerPage(); 
<------------------------ +1
}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to