File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -193,8 +193,11 @@ module.exports = r => {
193193 if ( r . query . reused ) {
194194 query [ 'rocket.first_stage.cores.reused' ] = ( r . query . reused === 'true' ) ;
195195 }
196- if ( r . query . land_success ) {
197- query [ 'rocket.first_stage.cores.land_success' ] = ( r . query . land_success === 'true' ) ;
196+ if ( r . query . landing_intent ) {
197+ query [ 'rocket.first_stage.cores.landing_intent' ] = ( r . query . landing_intent === 'true' ) ;
198+ }
199+ if ( r . query . landing_type ) {
200+ query [ 'rocket.first_stage.cores.landing_type' ] = r . query . landing_type ;
198201 }
199202 if ( r . query . landing_type ) {
200203 query [ 'rocket.first_stage.cores.landing_type' ] = r . query . landing_type ;
Original file line number Diff line number Diff line change @@ -126,6 +126,9 @@ module.exports = r => {
126126 if ( r . query . sort === 'land_success' ) {
127127 query [ 'rocket.first_stage.cores.land_success' ] = direction ;
128128 }
129+ if ( r . query . sort === 'landing_intent' ) {
130+ query [ 'rocket.first_stage.cores.landing_intent' ] = direction ;
131+ }
129132 if ( r . query . sort === 'landing_type' ) {
130133 query [ 'rocket.first_stage.cores.landing_type' ] = direction ;
131134 }
Original file line number Diff line number Diff line change @@ -196,6 +196,9 @@ module.exports = r => {
196196 if ( r . query . land_success ) {
197197 query [ 'rocket.first_stage.cores.land_success' ] = ( r . query . land_success === 'true' ) ;
198198 }
199+ if ( r . query . landing_intent ) {
200+ query [ 'rocket.first_stage.cores.landing_intent' ] = ( r . query . landing_intent === 'true' ) ;
201+ }
199202 if ( r . query . landing_type ) {
200203 query [ 'rocket.first_stage.cores.landing_type' ] = r . query . landing_type ;
201204 }
Original file line number Diff line number Diff line change @@ -177,6 +177,9 @@ module.exports = r => {
177177 if ( r . query . sort === 'land_success' ) {
178178 query [ 'rocket.first_stage.cores.land_success' ] = direction ;
179179 }
180+ if ( r . query . sort === 'landing_intent' ) {
181+ query [ 'rocket.first_stage.cores.landing_intent' ] = direction ;
182+ }
180183 if ( r . query . sort === 'landing_type' ) {
181184 query [ 'rocket.first_stage.cores.landing_type' ] = direction ;
182185 }
You can’t perform that action at this time.
0 commit comments