File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ import {
5050 TooltipTrigger ,
5151} from "~/components/ui/tooltip" ;
5252import { pathOptions } from "~/lib/channel-options" ;
53- import { cn , getErrorMessage } from "~/lib/utils" ;
5453import { formatPathLabel } from "~/lib/request-policy" ;
54+ import { cn , getErrorMessage } from "~/lib/utils" ;
5555
5656type SearchField = "any" | "title" | "artist" | "album" | "creator" ;
5757type SearchSort =
Original file line number Diff line number Diff line change @@ -40,15 +40,6 @@ export const searchInputSchema = z
4040 sortDirection : z . enum ( [ "asc" , "desc" ] ) . default ( "desc" ) ,
4141 } )
4242 . superRefine ( ( input , ctx ) => {
43- const hasAdvancedFilter = ! ! (
44- input . title ||
45- input . artist ||
46- input . album ||
47- input . creator ||
48- ( input . tuning && input . tuning . length > 0 ) ||
49- ( input . parts && input . parts . length > 0 ) ||
50- ( input . year && input . year . length > 0 )
51- ) ;
5243 const hasCoreText = ! ! (
5344 input . query ||
5445 input . title ||
You can’t perform that action at this time.
0 commit comments