From a24a06002081ad71a78ffeff9072725ba39cf121 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 17 Feb 2026 20:05:31 +0000
Subject: [PATCH] =minor changes, particularly around the JVB_CHILD_URL pattern

---
 inc/managers/queue/Queue.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/inc/managers/queue/Queue.php b/inc/managers/queue/Queue.php
index 4811116..28abc4e 100644
--- a/inc/managers/queue/Queue.php
+++ b/inc/managers/queue/Queue.php
@@ -106,7 +106,9 @@
 			return null;
 		}
 
-		$existing = $this->storage->findMergeable($incoming->type, $incoming->userId);
+		$criteria = $mergeable->matchCriteria($incoming);
+
+		$existing = $this->storage->findMergeable($incoming->type, $incoming->userId, $criteria);
 		if (!$existing || !$mergeable->canMerge($existing, $incoming)) {
 			return null;
 		}

--
Gitblit v1.10.0