From ba376fa07470d048f96323b4929b090a465b3dd4 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Tue, 25 Jul 2023 05:17:30 +0200 Subject: [PATCH] Getting last showcased batch for new label. --- assets/js/fragments.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/js/fragments.js b/assets/js/fragments.js index 1d2b8157..91e22138 100755 --- a/assets/js/fragments.js +++ b/assets/js/fragments.js @@ -673,7 +673,11 @@ const releaseFragment = ` `; const batchFragment = ` - batches(first: 1, orderBy: CREATED_AT_DESC) { + batches( + first: 1, + orderBy: CREATED_AT_DESC, + filter: { showcased: { equalTo: true } } + ) { id } `;