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

Tag tab counter is updated incorrectly when both heirarchical and tagset tags are added or removed

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.6, 3.4.alpha, 3.4.beta, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5
    • Fix Version/s: 3.4.6, 4.0.6
    • Component/s: Core CiviCRM, NYSS
    • Labels:
      None
    • Funding Source:
      Core Team Contract

      Description

      This issue is linked to NYSS http://senatedev.senate.state.ny.us/issues/show/2415.
      Please track and record time there.
      -----------------------------------------------------
      There is code in place to update the "count" on the Tags tab (e.g. "Tags 3") when tags are added or removed on that tab's form. However, the code is only incrementing and decrementing based on the hierarchical tags count, and doesn't count tagset tags when updating.

      To recreate:
      1. Create a tagset used for Contacts
      2. Edit a contact and assign 2 hierarchical tags (Major Donor, Volunteer) and also type in 1 new tagset tag. Save

      • Tags tab will show count = 3
        3. Go to Tags tab and uncheck Volunteer
      • Tags count now shows 1 (it's only counting Major Donor)
        4. Add another tagset tag on the tab
      • Tags count still shows 1 (it doesn't update when tagset tags are added or removed)

        Attachments

          Activity

            People

            • Assignee:
              lcdweb Brian Shaughnessy
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h