global search MDL-24625

- maintenance fixes to (regressions in) search documents.
- some table references to old modname_comments tables changed to {comments} table.
This commit is contained in:
Aparup Banerjee
2010-10-27 03:50:59 +00:00
parent 38e22fe9ed
commit dbb4a053d3
8 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -318,10 +318,10 @@ function data_delete($info, $itemtype) {
*
*/
function data_db_names() {
//[primary id], [table name], [time created field name], [time modified field name]
//[primary id], [table name], [time created field name], [time modified field name], [docsubtype], [additional where conditions for sql]
return array(
array('id', 'data_records', 'timecreated', 'timemodified', 'record'),
array('id', 'data_comments', 'created', 'modified', 'comment')
array('id', 'comments', 'timecreated', 'timecreated', 'comment')
);
}