musora-content-services 1.0.244 → 1.0.247

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.247](https://github.com/railroadmedia/musora-content-services/compare/v1.0.245...v1.0.247) (2024-12-18)
6
+
7
+ ### [1.0.246](https://github.com/railroadmedia/musora-content-services/compare/v1.0.244...v1.0.246) (2024-12-18)
8
+
9
+ ### [1.0.246](https://github.com/railroadmedia/musora-content-services/compare/v1.0.245...v1.0.246) (2024-12-18)
10
+
11
+ ### [1.0.245](https://github.com/railroadmedia/musora-content-services/compare/v1.0.244...v1.0.245) (2024-12-18)
12
+
5
13
  ### [1.0.244](https://github.com/railroadmedia/musora-content-services/compare/v1.0.243...v1.0.244) (2024-12-18)
6
14
 
7
15
  ### [1.0.243](https://github.com/railroadmedia/musora-content-services/compare/v1.0.242...v1.0.243) (2024-12-18)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "1.0.244",
3
+ "version": "1.0.247",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -294,7 +294,7 @@ const contentMetadata = {
294
294
  icon: 'icon-drums',
295
295
  description: "The 40 drum rudiments are essential for any drummer, no matter the style, genre, or scenario. You can use the videos below to help you learn, practice, and perfect every single one.",
296
296
  allowableFilters: ['difficulty', 'genre', 'gear', 'topic'],
297
- tabs: [
297
+ tabs: [
298
298
  {
299
299
  name: 'All',
300
300
  short_name: 'ALL',
@@ -304,25 +304,25 @@ const contentMetadata = {
304
304
  name: 'Drags',
305
305
  short_name: 'DRAGS',
306
306
  is_required_field: true,
307
- value: 'topic,drags',
307
+ value: 'topic,Drags',
308
308
  },
309
309
  {
310
310
  name: 'Flams',
311
311
  short_name: 'FLAMS',
312
312
  is_required_field: true,
313
- value: 'topic,flams',
313
+ value: 'topic,Flams',
314
314
  },
315
315
  {
316
316
  name: 'Paradiddles',
317
317
  short_name: 'PARADIDDLES',
318
318
  is_required_field: true,
319
- value: 'topic,paradiddles',
319
+ value: 'topic,Paradiddles',
320
320
  },
321
321
  {
322
322
  name: 'Rolls',
323
323
  short_name: 'ROLLS',
324
324
  is_required_field: true,
325
- value: 'topic,rolls',
325
+ value: 'topic,Rolls',
326
326
  },
327
327
  ],
328
328
  sortBy: 'sort',
@@ -1325,7 +1325,7 @@ export async function fetchLiveEvent(brand) {
1325
1325
  // See LiveStreamEventService.getCurrentOrNextLiveEvent for some nice complicated logic which I don't think is actually importart
1326
1326
  // this has some +- on times
1327
1327
  // But this query just finds the first scheduled event (sorted by start_time) that ends after now()
1328
- const query = `*[status == 'scheduled' && defined(live_event_start_time) && live_event_start_time <= '${getSanityDate(startDateTemp, false)}' && live_event_end_time >= '${getSanityDate(endDateTemp, false)}']{
1328
+ const query = `*[status == 'scheduled' && brand == '${brand}' && defined(live_event_start_time) && live_event_start_time <= '${getSanityDate(startDateTemp, false)}' && live_event_end_time >= '${getSanityDate(endDateTemp, false)}']{
1329
1329
  'slug': slug.current,
1330
1330
  'id': railcontent_id,
1331
1331
  live_event_start_time,