Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e9909
)
MDL-31060: removed unnecessary fields from query which also caused problems in MSSQL
author
Marina Glancy
<marina@moodle.com>
Tue, 10 Jan 2012 02:03:43 +0000
(10:03 +0800)
committer
Marina Glancy
<marina@moodle.com>
Fri, 13 Jan 2012 02:12:10 +0000
(10:12 +0800)
grade/grading/pick.php
patch
|
blob
|
blame
|
history
diff --git
a/grade/grading/pick.php
b/grade/grading/pick.php
index
fd4d6ef
..
779e95c
100644
(file)
--- a/
grade/grading/pick.php
+++ b/
grade/grading/pick.php
@@
-144,8
+144,7
@@
if ($searchdata = $searchform->get_data()) {
}
// construct the SQL to find all matching templates
-$sql = "SELECT DISTINCT gd.id, gd.areaid, gd.name, gd.description, gd.descriptionformat, gd.timecreated,
- gd.usercreated, gd.timemodified, gd.usermodified
+$sql = "SELECT DISTINCT gd.id, gd.areaid, gd.name, gd.usercreated
FROM {grading_definitions} gd
JOIN {grading_areas} ga ON (gd.areaid = ga.id)
JOIN {context} cx ON (ga.contextid = cx.id)";