dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24728
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12175: Message conversations, paging
------------------------------------------------------------
revno: 12175
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-09-19 17:07:21 +0200
message:
Message conversations, paging
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/MessageConversationController.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/MessageConversationController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/MessageConversationController.java 2013-09-10 11:03:08 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/MessageConversationController.java 2013-09-19 15:07:21 +0000
@@ -102,7 +102,7 @@
{
int count = manager.getCount( getEntityClass() );
- Pager pager = new Pager( options.getPage(), count );
+ Pager pager = new Pager( options.getPage(), count, options.getPageSize() );
metaData.setPager( pager );
entityList = new ArrayList<MessageConversation>( messageService.getMessageConversations( pager.getOffset(), pager.getPageSize() ) );