diff --git a/SwiftUI/Model/SearchOperation/SearchOperation.mm b/SwiftUI/Model/SearchOperation/SearchOperation.mm index 7f520c5d..549a9367 100644 --- a/SwiftUI/Model/SearchOperation/SearchOperation.mm +++ b/SwiftUI/Model/SearchOperation/SearchOperation.mm @@ -76,10 +76,10 @@ - (void)performSearch { std::string zimFileID_C = [[[zimFileID UUIDString] lowercaseString] cStringUsingEncoding:NSUTF8StringEncoding]; try { auto archive = allArchives->at(zimFileID_C); - [self addTitleSearchResults:archive count: 25]; if (archive.hasFulltextIndex()) { [self addIndexSearchResults:archive count: 25]; } + [self addTitleSearchResults:archive count: 25]; } catch (std::exception &e) { NSLog(@"perform search exception: %s", e.what()); }