@@ -177,11 +177,13 @@ require([
177177 mini_type = 'series' ;
178178 name_base = 'series_manifest' ;
179179 $ ( '#export-manifest-form' ) . append ( '<input type="hidden" name="aws">' )
180- $ ( '#export-manifest-modal' ) . find ( 'input[name="aws"]' ) . val ( button . parent ( ) . parent ( ) . data ( 'aws' ) ) ;
180+ $ ( '#export-manifest-form' ) . append ( '<input type="hidden" name="crdc">' )
181+ $ ( '#export-manifest-form' ) . append ( '<input type="hidden" name="single_series">' )
181182 $ ( '#export-manifest-form' ) . append ( '<input type="hidden" name="gcs">' )
183+ $ ( '#export-manifest-modal' ) . find ( 'input[name="aws"]' ) . val ( button . parent ( ) . parent ( ) . data ( 'aws' ) ) ;
182184 $ ( '#export-manifest-modal' ) . find ( 'input[name="gcs"]' ) . val ( button . parent ( ) . parent ( ) . data ( 'gcs' ) ) ;
183- $ ( '#export-manifest-form' ) . append ( '<input type="hidden" name="crdc">' )
184185 $ ( '#export-manifest-modal' ) . find ( 'input[name="crdc"]' ) . val ( button . parent ( ) . parent ( ) . data ( 'crdc' ) ) ;
186+ $ ( '#export-manifest-modal' ) . find ( 'input[name="single_series"]' ) . val ( "True" ) ;
185187 } else if ( button . hasClass ( 'study-export' ) ) {
186188 title = 'Study Export' ;
187189 filterNm = 'StudyInstanceUID' ;
@@ -245,6 +247,7 @@ require([
245247 $ ( '#export-manifest-modal' ) . find ( 'input[name="uid"]' ) . remove ( ) ;
246248 $ ( '#export-manifest-modal' ) . find ( 'input[name="crdc_uid"]' ) . remove ( ) ;
247249 $ ( '#export-manifest-modal' ) . find ( 'input[name="aws"]' ) . remove ( ) ;
250+ $ ( '#export-manifest-modal' ) . find ( 'input[name="single_series"]' ) . remove ( ) ;
248251 $ ( '#export-manifest-modal' ) . find ( 'input[name="gcs"]' ) . remove ( ) ;
249252 var filt_str = $ ( '#export-manifest-form' ) . find ( 'input[name="filters"]' ) . val ( )
250253 var filters = JSON . parse ( filt_str ) ;
0 commit comments