Remove exports from Bugzilla::Search
parent
19076fdcc2
commit
904055ea47
|
@ -352,12 +352,6 @@ use warnings;
|
|||
|
||||
package Bugzilla::Search;
|
||||
use base qw(Exporter);
|
||||
@Bugzilla::Search::EXPORT = qw(
|
||||
EMPTY_COLUMN
|
||||
|
||||
split_order_term
|
||||
translate_old_column
|
||||
);
|
||||
|
||||
use Bugzilla::Error;
|
||||
use Bugzilla::Util;
|
||||
|
|
|
@ -718,8 +718,8 @@ if ($order)
|
|||
{
|
||||
$fragment = trim($fragment);
|
||||
next unless $fragment;
|
||||
my ($column_name, $direction) = split_order_term($fragment);
|
||||
$column_name = translate_old_column($column_name);
|
||||
my ($column_name, $direction) = Bugzilla::Search::split_order_term($fragment);
|
||||
$column_name = Bugzilla::Search::translate_old_column($column_name);
|
||||
|
||||
# Special handlings for certain columns
|
||||
next if $column_name eq 'relevance' && !$fulltext;
|
||||
|
|
Loading…
Reference in New Issue