Skip to content

Commit

Permalink
Work/composer guesser returns more details
Browse files Browse the repository at this point in the history
  • Loading branch information
Open Opus committed Jul 12, 2020
1 parent 1557c4c commit 6e27846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html/dyn/work/guess/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

// finding the composers

$compdb = mysqlfetch ($mysql, "select id, name, complete_name, epoch from composer order by name asc");
$compdb = mysqlfetch ($mysql, "select id, name, complete_name, epoch, birth, death, portrait from composer order by name asc");

foreach ($reqworks as $comp => $works)
{
Expand Down Expand Up @@ -57,7 +57,7 @@

// finding the works

$wkdb = mysqlfetch ($mysql, "select composer_id, id, title, genre from work where composer_id in (". implode (",", $compids). ") order by composer_id asc, title asc");
$wkdb = mysqlfetch ($mysql, "select composer_id, id, title, subtitle, genre, popular, recommended from work where composer_id in (". implode (",", $compids). ") order by composer_id asc, title asc");

foreach ($reqworks as $comp => $works)
{
Expand Down

0 comments on commit 6e27846

Please sign in to comment.