Uploaded image for project: 'CiviVolunteer'
  1. CiviVolunteer
  2. VOL-281

Enable api.VolunteerAssignment.get to filter on assignee.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Verified?:
      No

      Description

      Out of expediency, we introduced some fairly inefficient client-side code to retrieve volunteer assignments related to a specific contact and a specific project. See linked commit.

      As a result, we're pulling a list of all activities assigned to the contact and then filtering them via a chained API. It would be better to modify api.VolunteerAssignment.get to take parameters related to table civicrm_activity_contact so that we can filter on assignee.

        Attachments

          Activity

            People

            • Assignee:
              pittstains Frank J. Gómez
              Reporter:
              pittstains Frank J. Gómez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: