-
Notifications
You must be signed in to change notification settings - Fork 23
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
use last instead of author, if add first too #169
Conversation
What if this is an editor, or if "first1" is already/about to be set and "last1" should be used for consistency? |
This code is only a change when a full name is passed with authors, author, or authors1 -- not editors. This means that instead of author1=LAST and first1=FIRST, you get last1=LAST and first1=FIRST. |
I think you have to see a few lines above the default view to understand this patch. |
OK, I see how this might make sense. |
This exact same logic exists for authro2, 3, etc. Just not author1. |
I think this is good now. When the bot sets author= it try’s to split it into first and last names. After doing this this change makes last= get set instead of author= for the last name. This is because we are clearly only setting a last name. This only applies when splitting author= into two parts. The other change is to be willing to set author even if editor is set. |
No description provided.