From: Aaron Schulz Date: Tue, 9 Jun 2009 01:38:55 +0000 (+0000) Subject: Follow up to r51465, replaced old index name reference (gave errors) X-Git-Tag: 1.31.0-rc.0~41438 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=d151328e13616de171858a4f437c7ca1871cfb54;p=lhc%2Fweb%2Fwiklou.git Follow up to r51465, replaced old index name reference (gave errors) --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index 922d524214..bca5ef3fda 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -736,7 +736,7 @@ class LogPager extends ReverseChronologicalPager { # Add log_search table if there are conditions on it if( array_key_exists('ls_field',$this->mConds) ) { $tables[] = 'log_search'; - $index = array( 'log_search' => 'PRIMARY', 'logging' => 'PRIMARY' ); + $index = array( 'log_search' => 'ls_field_val', 'logging' => 'PRIMARY' ); $groupBy = 'ls_log_id'; # Don't use the wrong logging index } else if( $this->title || $this->pattern || $this->user ) {