mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-08 07:45:19 -04:00
Release Testing Day 3 (#1946)
* Removed extra trace messages as the people issue might have been resolved. * When registering, disable button until form is valid. Allow non-email formatted emails, but not blank. * Fixed opds not having http(s):// * Added a new API to allow scanning all libraries from end point * Moved Bookmarks directory to Media tab * Fixed an edge case for finding next chapter when we had volume 1,2 etc but they had the same chapter number. * Code cleanup
This commit is contained in:
@@ -834,15 +834,12 @@ public class ProcessSeries : IProcessSeries
|
||||
var normalizedName = name.ToNormalized();
|
||||
var person = allPeopleTypeRole.FirstOrDefault(p =>
|
||||
p.NormalizedName != null && p.NormalizedName.Equals(normalizedName));
|
||||
_logger.LogTrace("[UpdatePeople] Checking if we can add {Name} for {Role}", names, role);
|
||||
|
||||
if (person == null)
|
||||
{
|
||||
person = new PersonBuilder(name, role).Build();
|
||||
_logger.LogTrace("[UpdatePeople] for {Role} no one found, adding to _people", role);
|
||||
_people.Add(person);
|
||||
}
|
||||
_logger.LogTrace("[UpdatePeople] For {Name}, found person with id: {Id}", role, person.Id);
|
||||
action(person);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user