mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-30 23:03:02 +00:00 
			
		
		
		
	Fix opds search
This commit is contained in:
		| @@ -687,9 +687,7 @@ class CalibreDB(): | ||||
|             limit_all = result_count | ||||
|  | ||||
|         ub.store_ids(result) | ||||
|  | ||||
|  | ||||
|         return result[offset:limit_all], result_count, pagination, | ||||
|         return result[offset:limit_all], result_count, pagination | ||||
|  | ||||
|     # Creates for all stored languages a translated speaking name in the array for the UI | ||||
|     def speaking_language(self, languages=None): | ||||
|   | ||||
| @@ -408,7 +408,7 @@ def get_metadata_calibre_companion(uuid, library): | ||||
|  | ||||
| def feed_search(term): | ||||
|     if term: | ||||
|         entries, __ = calibre_db.get_search_results(term) | ||||
|         entries, __, ___ = calibre_db.get_search_results(term) | ||||
|         entriescount = len(entries) if len(entries) > 0 else 1 | ||||
|         pagination = Pagination(1, entriescount, entriescount) | ||||
|         return render_xml_template('feed.xml', searchterm=term, entries=entries, pagination=pagination) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ozzieisaacs
					Ozzieisaacs