mirror of
https://github.com/gotson/komga.git
synced 2025-12-21 07:56:57 +01:00
fix(api): search series by metadata title
instead of name
This commit is contained in:
parent
ea1bdc646a
commit
51dd917249
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ class SeriesController(
|
|||
}
|
||||
|
||||
if (!searchTerm.isNullOrEmpty()) {
|
||||
specs.add(Series::name.likeLower("%$searchTerm%"))
|
||||
specs.add(Series::metadata.toJoin().where(SeriesMetadata::title).likeLower("%$searchTerm%"))
|
||||
}
|
||||
|
||||
if (!metadataStatus.isNullOrEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue