Add clarifying comment

This commit is contained in:
Alex Cabal 2024-01-23 23:54:44 -06:00
parent cbf87487eb
commit 1a14a775d4

View file

@ -228,6 +228,10 @@ class Library{
$params[] = $tokenizedQuery; // aan.Name $params[] = $tokenizedQuery; // aan.Name
$params[] = $tokenizedQuery; // t.Name $params[] = $tokenizedQuery; // t.Name
// We use replace() below because if there's multiple contributors separated by an underscore,
// the underscore won't count as word boundary and we won't get a match.
// See https://github.com/standardebooks/web/pull/325
$artworks = Db::Query(' $artworks = Db::Query('
SELECT art.* SELECT art.*
from Artworks art from Artworks art