File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -162,8 +162,8 @@ private void searchBox_TextChanged(AutoSuggestBox sender, AutoSuggestBoxTextChan
162162 }
163163 else
164164 {
165- var query = searchBox . Text ;
166- searchBox . ItemsSource = samplePages ? . Where ( s => s ! . Title ! . ToLower ( ) . Contains ( query ) || s ! . Keywords ! . ToLower ( ) . Contains ( query ) || s ! . Category ! . ToString ( ) . ToLower ( ) . Contains ( query ) || s ! . Subcategory ! . ToString ( ) . ToLower ( ) . Contains ( query ) ) . ToArray ( ) ; ;
165+ var query = searchBox . Text . ToLower ( ) ;
166+ searchBox . ItemsSource = samplePages ? . Where ( s => s ! . Title ! . ToLower ( ) . Contains ( query ) || s ! . Description ! . ToLower ( ) . Contains ( query ) || s ! . Keywords ! . ToLower ( ) . Contains ( query ) || s ! . Category ! . ToString ( ) . ToLower ( ) . Contains ( query ) || s ! . Subcategory ! . ToString ( ) . ToLower ( ) . Contains ( query ) ) . ToArray ( ) ;
167167 return ;
168168 }
169169 }
You can’t perform that action at this time.
0 commit comments