mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-31 15:23:02 +00:00 
			
		
		
		
	for for editing Author
This commit is contained in:
		| @@ -667,7 +667,7 @@ def edit_book(book_id): | |||||||
|          |          | ||||||
|         author_id = book.authors[0].id |         author_id = book.authors[0].id | ||||||
|          |          | ||||||
|         is_author = db.session.query(db.Authors).filter(db.Authors.name.like('%' + to_save["author_name"].strip() + '%')).first() |         is_author = db.session.query(db.Authors).filter(db.Authors.name == to_save["author_name"].strip()).first() | ||||||
|         if book.authors[0].name not in  ("Unknown", "Unbekannt", "", " "): |         if book.authors[0].name not in  ("Unknown", "Unbekannt", "", " "): | ||||||
|             if is_author: |             if is_author: | ||||||
|                 book.authors.append(is_author) |                 book.authors.append(is_author) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Cervinko Cera
					Cervinko Cera