Bug 23893: Special care for booleans
[srvgit] / Koha / SearchFields.pm
index b2c985f..7af3c0b 100644 (file)
@@ -35,21 +35,6 @@ Koha::SearchFields - Koha SearchField Object set class
 
 =cut
 
-=head3 weighted_fields
-
-my (@w_fields, @weight) = Koha::SearchFields->weighted_fields();
-
-=cut
-
-sub weighted_fields {
-    my ($self) = @_;
-
-    return $self->search(
-        { weight => { '>' => 0, '!=' => undef } },
-        { order_by => { -desc => 'weight' } }
-    );
-}
-
 =head3 type
 
 =cut