diff --git a/Projects/Domains/SearchDomain/Interface/Enum/Option.swift b/Projects/Domains/SearchDomain/Interface/Enum/Option.swift index e6f91ad43..bee7fa6ea 100644 --- a/Projects/Domains/SearchDomain/Interface/Enum/Option.swift +++ b/Projects/Domains/SearchDomain/Interface/Enum/Option.swift @@ -25,7 +25,7 @@ public enum FilterType: String, Encodable, SearchOptionType { public enum SortType: String, Encodable, SearchOptionType { case latest case oldest - case alphabetical + case relevance case popular public var title: String { @@ -34,8 +34,8 @@ public enum SortType: String, Encodable, SearchOptionType { "최신순" case .oldest: "과거순" - case .alphabetical: - "가나다순" + case .relevance: + "관련도순" case .popular: "인기순" } diff --git a/Projects/Features/SearchFeature/Sources/After/Reactors/SongSearchResultReactor.swift b/Projects/Features/SearchFeature/Sources/After/Reactors/SongSearchResultReactor.swift index 1c30f0e62..2f0b280a2 100644 --- a/Projects/Features/SearchFeature/Sources/After/Reactors/SongSearchResultReactor.swift +++ b/Projects/Features/SearchFeature/Sources/After/Reactors/SongSearchResultReactor.swift @@ -49,7 +49,7 @@ final class SongSearchResultReactor: Reactor { init(text: String, fetchSearchSongsUseCase: any FetchSearchSongsUseCase) { self.initialState = State( isLoading: true, - sortType: .latest, + sortType: .relevance, filterType: .all, selectedCount: 0, scrollPage: 1, diff --git a/Projects/Features/SearchFeature/Sources/After/ViewControllers/SearchSortOptionViewController.swift b/Projects/Features/SearchFeature/Sources/After/ViewControllers/SearchSortOptionViewController.swift index b23cdbecb..a19c4d2c4 100644 --- a/Projects/Features/SearchFeature/Sources/After/ViewControllers/SearchSortOptionViewController.swift +++ b/Projects/Features/SearchFeature/Sources/After/ViewControllers/SearchSortOptionViewController.swift @@ -16,7 +16,7 @@ final class SearchSortOptionViewController: BaseViewController { private var disposeBag = DisposeBag() - private let options: [SortType] = [.latest, .oldest, .alphabetical, .popular] + private let options: [SortType] = [.relevance, .latest, .oldest, .popular] private var selectedModel: SortType