diff --git a/src/components/search/AdvancedFilters.tsx b/src/components/search/AdvancedFilters.tsx index f4076ce..c766dea 100644 --- a/src/components/search/AdvancedFilters.tsx +++ b/src/components/search/AdvancedFilters.tsx @@ -35,13 +35,13 @@ const AdvancedFilters = ({ advanceFilterData, setAdvanceFilterData }:any) => { IconComponent={() =>
} sx={{ color: 'white', border: '1px solid white', }} > - All - Audio Song - Video Song - Audio visual - Story - Score - Dialogue + All + Audio Song + Video Song + Audio visual + Story + Score + Dialogue @@ -58,24 +58,24 @@ const AdvancedFilters = ({ advanceFilterData, setAdvanceFilterData }:any) => { IconComponent={() =>
} sx={{ color: 'white', border: '1px solid white', }} > - All - Physical - Digital - Adaptation - Synchronisation - Copyright Registration - Public Performance - Compilation - Games - GamesDuplicate - Literary Work - Musical Work - Performances/Singer - Background Score - Dialogue - Synchronisation - Composition - Lyrics + All + Physical + Digital + Adaptation + Synchronisation + Copyright Registration + Public Performance + Compilation + Games + GamesDuplicate + Literary Work + Musical Work + Performances/Singer + Background Score + Dialogue + Synchronisation + Composition + Lyrics @@ -102,8 +102,8 @@ const AdvancedFilters = ({ advanceFilterData, setAdvanceFilterData }:any) => { - {/* - Territory */} + {/* */} + {/* Territory */} ( { searchByValue:searchText, - rights: 0, - asset_type: 0, + rights: "0", + asset_type: "0", territory: '', - genre: '', - language: '', - mood: '', - validity: 0, + genre: 'All', + language: 'All', + mood: 'All', + validity: "0", artist: '' } ); @@ -30,7 +30,7 @@ export default function Search() { const handleClear = () => { setSearchText(''); - // handleAdvancedFilter() + setShowAdvancedFilters(false); }; const handleAdvancedFilter = () => { @@ -38,13 +38,13 @@ export default function Search() { if (showAdvancedFilters==false){ setAdvanceFilterData({ searchText, - rights: 0, - asset_type: 0, + rights: "0", + asset_type: "0", territory: '', - genre: '', - language: '', - mood: '', - validity: 0, + genre: 'All', + language: 'All', + mood: 'All', + validity: "0", artist: '' }) }