File tree Expand file tree Collapse file tree
apps/frontend/src/app/(content)/search Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -479,10 +479,11 @@ const SearchSongPage = () => {
479479 category,
480480 uploader,
481481 limit,
482- noteCountMin : noteCountMin > 0 ? noteCountMin : undefined ,
483- noteCountMax : noteCountMax < 10000 ? noteCountMax : undefined ,
484- durationMin : durationMin > 0 ? durationMin : undefined ,
485- durationMax : durationMax < 10000 ? durationMax : undefined ,
482+ noteCountMin : noteCountMin && noteCountMin > 0 ? noteCountMin : undefined ,
483+ noteCountMax :
484+ noteCountMax && noteCountMax < 10000 ? noteCountMax : undefined ,
485+ durationMin : durationMin && durationMin > 0 ? durationMin : undefined ,
486+ durationMax : durationMax && durationMax < 10000 ? durationMax : undefined ,
486487 features : features || undefined ,
487488 instruments : instruments || undefined ,
488489 } ;
You can’t perform that action at this time.
0 commit comments