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

Token replacement should only retrieve tokens that are used in the mailing

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.9
    • Component/s: None
    • Labels:
      None

      Description

      1. we currently retrieve all "standard" fields for a mailing
      2. we then retrieve each custom field as needed on an individual basis

      The above is not optimal and uses more queries than required. We should scan the mailing and extract all the token used. We should then retrieve ALL the values for these tokens in the same query. Thus we use only one query for all the tokens

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              lobo Donald A. Lobo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: