diff --git a/lib/Library.php b/lib/Library.php index 243a1108..2faa4e16 100644 --- a/lib/Library.php +++ b/lib/Library.php @@ -237,7 +237,7 @@ class Library{ left join Tags t using (TagId) where ' . $statusCondition . ' and (art.Name regexp ? - or art.EbookWwwFilesystemPath regexp ? + or replace(art.EbookWwwFilesystemPath, "_", " ") regexp ? or a.Name regexp ? or aan.Name regexp ? or t.Name regexp ?)