mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
OPDS formatting fix (#1905)
# Fixed - Fixed a formatting issue where there was a unnecessary - at the beginning of titles. (develop) # Changed - Updated github action version. (develop)
This commit is contained in:
parent
97baab44a9
commit
139460d19c
2
.github/workflows/sonar-scan.yml
vendored
2
.github/workflows/sonar-scan.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check PR Body
|
||||
uses: JJ/github-pr-contains-action@releases/v9
|
||||
uses: JJ/github-pr-contains-action@releases/v10
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
bodyDoesNotContain: "[\"|`]"
|
||||
|
@ -777,11 +777,11 @@ public class OpdsController : BaseApiController
|
||||
}
|
||||
else if (volume.Number != 0)
|
||||
{
|
||||
title = $" - {series.Name} - Volume {volume.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
|
||||
title = $"{series.Name} - Volume {volume.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
|
||||
}
|
||||
else
|
||||
{
|
||||
title = $" - {series.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
|
||||
title = $"{series.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
|
||||
}
|
||||
|
||||
// Chunky requires a file at the end. Our API ignores this
|
||||
|
Loading…
x
Reference in New Issue
Block a user