From 2da882828b199950cdf4b9ecafb6ae992fc2e90d Mon Sep 17 00:00:00 2001
From: Sunny
Date: Thu, 20 Jul 2023 14:46:51 +0700
Subject: [PATCH] MAKAIRA-3659 New constraint for variant sorting
---
src/Constraints.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Constraints.php b/src/Constraints.php
index 9280e8e..e798174 100644
--- a/src/Constraints.php
+++ b/src/Constraints.php
@@ -62,6 +62,11 @@ final class Constraints
*/
const VARIANT_COUNT = 'query.variant_count';
+ /**
+ * Variant sorting used in query.
+ */
+ const VARIANT_SORTING = 'query.variant_sorting';
+
/**
* Variant count used in query.
*/