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

Optimize dupe checking in Recent Items stack

    Details

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

      Description

      When checking if a recent item sitem is already in session's store, don't rely on it's URI but on type and id. This should prevent us from double inserting same items which only differ by their URI query param order

      Patch at https://github.com/civicrm/civicrm-core/pull/11281

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nielo Niels Heinemann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: