@burdenoff/website-sdk 2026.1021.1 → 2026.1021.2
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/content/index.js +5 -2
- package/dist/content/index.js.map +1 -1
- package/dist/content/index.mjs +5 -2
- package/dist/content/index.mjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/content/index.mjs
CHANGED
|
@@ -1295,8 +1295,8 @@ function AnimationStyles() {
|
|
|
1295
1295
|
return /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: ANIMATION_STYLES } });
|
|
1296
1296
|
}
|
|
1297
1297
|
var CASE_STUDIES_QUERY = `
|
|
1298
|
-
query CaseStudies($productId: String!, $limit: Int, $offset: Int) {
|
|
1299
|
-
publicContentPages(productId: $productId, limit: $limit, offset: $offset) {
|
|
1298
|
+
query CaseStudies($productId: String!, $tag: String, $limit: Int, $offset: Int) {
|
|
1299
|
+
publicContentPages(productId: $productId, tag: $tag, limit: $limit, offset: $offset) {
|
|
1300
1300
|
items {
|
|
1301
1301
|
id
|
|
1302
1302
|
title
|
|
@@ -1696,6 +1696,9 @@ function CaseStudiesListPage(props) {
|
|
|
1696
1696
|
try {
|
|
1697
1697
|
const result = await client.query(CASE_STUDIES_QUERY, {
|
|
1698
1698
|
productId: resolvedProductId,
|
|
1699
|
+
// Filter server-side: an unfiltered page of `limit` rows is mostly blog/legal pages, so
|
|
1700
|
+
// real case studies past it were never listed and the page fell back to the empty state.
|
|
1701
|
+
tag: CASE_STUDY_TAG,
|
|
1699
1702
|
limit,
|
|
1700
1703
|
offset
|
|
1701
1704
|
});
|