Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -736,7 +736,7 @@ |
737 | 737 | # Add log_search table if there are conditions on it |
738 | 738 | if( array_key_exists('ls_field',$this->mConds) ) { |
739 | 739 | $tables[] = 'log_search'; |
740 | | - $index = array( 'log_search' => 'PRIMARY', 'logging' => 'PRIMARY' ); |
| 740 | + $index = array( 'log_search' => 'ls_field_val', 'logging' => 'PRIMARY' ); |
741 | 741 | $groupBy = 'ls_log_id'; |
742 | 742 | # Don't use the wrong logging index |
743 | 743 | } else if( $this->title || $this->pattern || $this->user ) { |