mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-04 13:55:22 -04:00
Release Shakeout Day 1 (#1591)
* Fixed an issue where reading list were not able to update their summary due to a duplicate title check. * Misc code smell cleanup * Updated .net dependencies and removed unneeded ones * Fixed an issue where removing a series from want to read list page wouldn't update the page correctly * Fixed age restriction not applied to Recommended page * Ensure that Genres and Tags are age restricted gated * Persons are now age gated as well * When you choose a cover, the new cover will properly be selected and will focus on it, in the cases there are many other covers available. * Fixed caching profiles * Added in a special hook when deleting a library to clear all series Relations before we delete
This commit is contained in:
@@ -749,12 +749,12 @@ public static class Parser
|
||||
foreach (var regex in MangaChapterRegex)
|
||||
{
|
||||
var matches = regex.Matches(filename);
|
||||
foreach (Match match in matches)
|
||||
foreach (var groups in matches.Select(match => match.Groups))
|
||||
{
|
||||
if (!match.Groups["Chapter"].Success || match.Groups["Chapter"] == Match.Empty) continue;
|
||||
if (!groups["Chapter"].Success || groups["Chapter"] == Match.Empty) continue;
|
||||
|
||||
var value = match.Groups["Chapter"].Value;
|
||||
var hasPart = match.Groups["Part"].Success;
|
||||
var value = groups["Chapter"].Value;
|
||||
var hasPart = groups["Part"].Success;
|
||||
|
||||
return FormatValue(value, hasPart);
|
||||
}
|
||||
@@ -778,11 +778,11 @@ public static class Parser
|
||||
foreach (var regex in ComicChapterRegex)
|
||||
{
|
||||
var matches = regex.Matches(filename);
|
||||
foreach (Match match in matches)
|
||||
foreach (var groups in matches.Select(match => match.Groups))
|
||||
{
|
||||
if (!match.Groups["Chapter"].Success || match.Groups["Chapter"] == Match.Empty) continue;
|
||||
var value = match.Groups["Chapter"].Value;
|
||||
var hasPart = match.Groups["Part"].Success;
|
||||
if (!groups["Chapter"].Success || groups["Chapter"] == Match.Empty) continue;
|
||||
var value = groups["Chapter"].Value;
|
||||
var hasPart = groups["Part"].Success;
|
||||
return FormatValue(value, hasPart);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user