Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
libcontacts
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • mer-core-attic
  • libcontacts
  • Merge Requests
  • !11

Merged
Opened Apr 17, 2019 by chriadam@chriadam
  • Report abuse
Report abuse

[libcontacts] Explicitly tell models to update section bucket index caches. Contributes to JB#45504

  • Overview 5
  • Commits 1
  • Changes 2

When contact data changes in the backend and we have pulled these changes into the model, we need to tell the attached models that they need to recalculate their cache of section bucket indexes.

Note that we cannot have a single cache of section bucket indexes which the models read, as models can have a search filter applied which means the indexes of contacts in the seaside cache won't necessarily match what the model expects.

Edited Apr 18, 2019 by blam
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: mer-core-attic/libcontacts!11

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.