Skip to content

Duplicates when using remote and prefetch #103

Open
@jisotalo

Description

@jisotalo

Hello

I am using prefetch to obtain most used data. When writing something more results are queried from server with remote option.

If prefetch data contains same items as the remote data, both of them are shown in the list (so they are duplicates).

I tried to Google it but only result is that "dupDetector" should be used like this
dupDetector: function (remoteMatch, localMatch) { return remoteMatch.id === localMatch.id; }

But it seems that there is no dupDetector option available, is that correct? How should I do this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions