-
- $order[] = $this->prefix . '_title' . $sort;
- $this->addOption( 'ORDER BY', $order );
- $this->addOption( 'USE INDEX', $this->prefix . '_from' );
+ if ( $multiTitle ) {
+ $order[] = $this->prefix . '_title' . $sort;
+ }
+ if ( $order ) {
+ $this->addOption( 'ORDER BY', $order );
+ }