@strapi/content-manager 5.0.0-rc.15 → 5.0.0-rc.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server/index.js
CHANGED
@@ -2549,8 +2549,9 @@ const relations = {
|
|
2549
2549
|
} else {
|
2550
2550
|
where.id = id;
|
2551
2551
|
}
|
2552
|
-
|
2553
|
-
|
2552
|
+
const publishedAt = getPublishedAtClause(status, targetUid);
|
2553
|
+
if (!fp.isEmpty(publishedAt)) {
|
2554
|
+
where[`${alias}.published_at`] = publishedAt;
|
2554
2555
|
}
|
2555
2556
|
if (filterByLocale) {
|
2556
2557
|
where[`${alias}.locale`] = locale;
|