From d151328e13616de171858a4f437c7ca1871cfb54 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 9 Jun 2009 01:38:55 +0000 Subject: [PATCH] Follow up to r51465, replaced old index name reference (gave errors) --- includes/LogEventsList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.20.1