mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-31 07:13:02 +00:00 
			
		
		
		
	Document change
This commit is contained in:
		| @@ -831,6 +831,8 @@ def author_list(): | |||||||
|         charlist = calibre_db.session.query(func.upper(func.substr(db.Authors.sort, 1, 1)).label('char')) \ |         charlist = calibre_db.session.query(func.upper(func.substr(db.Authors.sort, 1, 1)).label('char')) \ | ||||||
|             .join(db.books_authors_link).join(db.Books).filter(calibre_db.common_filters()) \ |             .join(db.books_authors_link).join(db.Books).filter(calibre_db.common_filters()) \ | ||||||
|             .group_by(func.upper(func.substr(db.Authors.sort, 1, 1))).all() |             .group_by(func.upper(func.substr(db.Authors.sort, 1, 1))).all() | ||||||
|  |         # If not creating a copy, readonly databases can not display authornames with "|" in it as changing the name | ||||||
|  |         # starts a change session | ||||||
|         autor_copy = copy.deepcopy(entries) |         autor_copy = copy.deepcopy(entries) | ||||||
|         for entry in autor_copy: |         for entry in autor_copy: | ||||||
|             entry.Authors.name = entry.Authors.name.replace('|', ',') |             entry.Authors.name = entry.Authors.name.replace('|', ',') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ozzie Isaacs
					Ozzie Isaacs