[
https://issues.apache.org/jira/browse/SHINDIG-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chico Charlesworth updated SHINDIG-885:
---------------------------------------
Attachment: fix-885-736969-bug.patch
Fixed PersonServiceDb and ActivityServiceDb to correctly calculate totalResults
by doing a count query before the actual paginated query. Also, fixed
ActivityServiceDb to also implement pagination.
> Incorrect totalResults calculation in PersonServiceDb and ActivityDb
> --------------------------------------------------------------------
>
> Key: SHINDIG-885
> URL: https://issues.apache.org/jira/browse/SHINDIG-885
> Project: Shindig
> Issue Type: Bug
> Components: Sample container & Examples
> Reporter: Chico Charlesworth
> Attachments: fix-885-736969-bug.patch
>
>
> In light of SHINDIG-778 (Total results is the size of the total result set.
> The count parameter specifies how many items to fetch for a particular
> request), it's now understood that the totalResults should be a count of the
> total number of rows, i.e. not the number of paginated set of rows.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.