-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix AttributeError: 'author_names' #4432
Conversation
For the case where this code is currently failing, I find |
@cclauss we should also focus on documentation (for instance, this particular file has 0 comments). |
Can confirm this patch fixes the error. Totally agree that openlibrary/templates/type/edition/view.html is long overdue a rewrite. |
Closes https://internetarchive.slack.com/archives/C0ETZV72L/p1610879197058400
NOTE: Instead of
(edition or work).author_names
we can writepage.author_names
Refer: https://internetarchive.slack.com/archives/C0ETZV72L/p1610978647060400?thread_ts=1610879197.058400&cid=C0ETZV72L
Testing
https://openlibrary.org/works/OL15690362W/Walt_Disney_fun-to-read_library_(duplicate)
https://openlibrary.org/works/OL17355493W/The_Generic_names_of_moths_of_the_world._n_Vol._5_p_Pyraloidea_c_edited_by_I.W.B._Nye_vol._5_by_D.S.
Screenshot
Stakeholders