From 5e9fa038892188456d5e4148fd7f1cb8dede3185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Wed, 16 Jul 2025 16:04:58 +0000 Subject: [PATCH] export products to bimix fix --- REST/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/REST/index.php b/REST/index.php index 09a9e75c..e734feb3 100644 --- a/REST/index.php +++ b/REST/index.php @@ -46,7 +46,7 @@ switch ($_GET["action"]) { WHERE p.active = 1 AND p.deleted = 0 AND p.date_modified > '$sixMonthsAgo' - AND (p.exportedAt IS NULL OR p.exportedAt > '$sinceDate') + AND (p.exportedAt IS NULL OR p.exportedAt < '$sinceDate') GROUP BY p.id, p.name, p.code "; $r = $db->query($query);