From 079bea38074d465b42a6fe1e10f853fa8461dc52 Mon Sep 17 00:00:00 2001 From: Paul Pearson Date: Fri, 21 Dec 2012 18:27:51 -0500 Subject: [PATCH] Update lib/WeBWorK/Utils/ListingDB.pm 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). --- lib/WeBWorK/Utils/ListingDB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WeBWorK/Utils/ListingDB.pm b/lib/WeBWorK/Utils/ListingDB.pm index a6fff10a71..68a3f740b8 100644 --- a/lib/WeBWorK/Utils/ListingDB.pm +++ b/lib/WeBWorK/Utils/ListingDB.pm @@ -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