Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3617

View Case - Activity selector getTotalCount is missing a case parameter - so pager is incorrect

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2.0
    • Component/s: CiviCase
    • Labels:
      None

      Description

      This code will probably be refactored - but we should fix this bug up front to make sure we don't propagate it.

      When we build the Activity selector for "View Case" - we correctly pass a $case parameter to getRows(), but we do NOT pass it to getTotalCount() - so the pager count will reflect ALL activities for that contact rather than only the activities linked to the case being viewed. (CRM/Activity/Selector/Activity.php)

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1 day
                1d