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

Pass through membership ID from search results so it can be used for custom membership tokens

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.25
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      From the "Find Memberships" screen the membership_id is defined, but is dropped before the token code is executed meaning you can't use any custom membership tokens for any of the actions.  This patch passed that membership ID through so it can be used in custom membership token generation via the hook_civicrm_tokenValues hook.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mattwire Matthew Wire
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: