mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Update search to exclude returning series with no books #3736
This commit is contained in:
		
							parent
							
								
									46ba342d49
								
							
						
					
					
						commit
						d60ad96f8a
					
				| @ -1195,10 +1195,12 @@ module.exports = { | ||||
|         libraryItem.media.series = [] | ||||
|         return libraryItem.toOldJSON() | ||||
|       }) | ||||
|       seriesMatches.push({ | ||||
|         series: series.toOldJSON(), | ||||
|         books | ||||
|       }) | ||||
|       if (books.length) { | ||||
|         seriesMatches.push({ | ||||
|           series: series.toOldJSON(), | ||||
|           books | ||||
|         }) | ||||
|       } | ||||
|     } | ||||
| 
 | ||||
|     // Search authors
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user