We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f363939 commit 6cd62d0Copy full SHA for 6cd62d0
src/Models/Concerns/WithScroll.php
@@ -86,7 +86,9 @@ public function isFetchable(): bool
86
*/
87
protected function mergeScrollItems(Collection $items): void
88
{
89
- $this->models->push(...$items);
+ $this->models = $this->models
90
+ ->mergeRecursive($items)
91
+ ->unique($this->getItemUniqueKey());
92
93
$this->refresh();
94
}
0 commit comments