Skip to content

Commit

Permalink
Update lib/WeBWorK/Utils/ListingDB.pm
Browse files Browse the repository at this point in the history
Changed line 366 from $tables{DBsection} to $tables{dbsection} in order to fix the broken browse by textbook feature in the library browser (change suggested by Hal Sadofsky).
  • Loading branch information
paultpearson committed Dec 21, 2012
1 parent 05b71e5 commit 079bea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WeBWorK/Utils/ListingDB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ sub getDBListings {
$kw2";
if($haveTextInfo) {
$query = "SELECT $selectwhat from `$tables{pgfile}` pgf,
`$tables{DBsection}` dbsc, `$tables{dbchapter}` dbc, `$tables{dbsubject}` dbsj,
`$tables{dbsection}` dbsc, `$tables{dbchapter}` dbc, `$tables{dbsubject}` dbsj,
`$tables{pgfile_problem}` pgp, `$tables{problem}` prob, `$tables{textbook}` tbk ,
`$tables{chapter}` tc, `$tables{section}` ts $kw1
WHERE dbsj.DBsubject_id = dbc.DBsubject_id AND
Expand Down

0 comments on commit 079bea3

Please sign in to comment.