musora-content-services 2.136.2 → 2.136.3

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.
@@ -0,0 +1,9 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(rg:*)",
5
+ "Bash(npm run lint:*)"
6
+ ],
7
+ "deny": []
8
+ }
9
+ }
@@ -5,9 +5,9 @@ name: Node.js CI
5
5
 
6
6
  on:
7
7
  push:
8
- branches: [ "main" ]
8
+ branches: [ ]
9
9
  pull_request:
10
- branches: [ "main" ]
10
+ branches: [ ]
11
11
 
12
12
  jobs:
13
13
  build:
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
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
+ ### [2.136.3](https://github.com/railroadmedia/musora-content-services/compare/v2.136.2...v2.136.3) (2026-02-20)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * change query ([#831](https://github.com/railroadmedia/musora-content-services/issues/831)) ([8e7d2a2](https://github.com/railroadmedia/musora-content-services/commit/8e7d2a20cecc6bc134664e72b0c30cc067ba0591))
11
+
5
12
  ### [2.136.2](https://github.com/railroadmedia/musora-content-services/compare/v2.136.1...v2.136.2) (2026-02-19)
6
13
 
7
14
  ### [2.136.1](https://github.com/railroadmedia/musora-content-services/compare/v2.136.0...v2.136.1) (2026-02-19)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.136.2",
3
+ "version": "2.136.3",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -2003,10 +2003,17 @@ export async function fetchScheduledAndNewReleases(
2003
2003
  const sortOrder = getSortOrder(sort, brand)
2004
2004
 
2005
2005
  const query = `
2006
- *[(_type in [${typesString}] && brand == '${brand}' && ((status in ['published','scheduled'] )||(show_in_new_feed == true)))
2007
- || (defined(live_event_start_time) && (!defined(live_event_end_time) || live_event_end_time >= '${now}' ) && (brand == '${brand}' || brand == 'musora' && live_global_event) && status in ['scheduled'])]
2006
+ *[show_in_new_feed == true && (
2007
+ (_type in [${typesString}] && brand == '${brand}' && status in ['published','scheduled'])
2008
+ || (
2009
+ defined(live_event_start_time)
2010
+ && (!defined(live_event_end_time) || live_event_end_time >= '${now}' )
2011
+ && brand == '${brand}'
2012
+ && status in ['scheduled']
2013
+ )
2014
+ )]
2008
2015
  [${start}...${end}]
2009
- | order(published_on asc) {
2016
+ | order(${sortOrder}) {
2010
2017
  "id": railcontent_id,
2011
2018
  title,
2012
2019
  "image": thumbnail.asset->url,