mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Revert "Distinguish between no results and loading when sorting global search results"
This reverts commit 2be9871d05.
			
			
This commit is contained in:
		| @@ -185,8 +185,7 @@ open class GlobalSearchPresenter( | ||||
|                     .sortedWith( | ||||
|                         compareBy( | ||||
|                             // Bubble up sources that actually have results | ||||
|                             { it.results?.isEmpty() }, | ||||
|                             { it.results == null }, | ||||
|                             { it.results.isNullOrEmpty() }, | ||||
|                             // Same as initial sort, i.e. pinned first then alphabetically | ||||
|                             { it.source.id.toString() !in pinnedSourceIds }, | ||||
|                             { "${it.source.name.toLowerCase()} (${it.source.lang})" } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user