Skip to content

Commit

Permalink
Item13170: fix plain text search
Browse files Browse the repository at this point in the history
  • Loading branch information
cdot committed Mar 23, 2017
1 parent cf9095f commit c65856e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/Foswiki/Store/QueryAlgorithms/DBIStoreContrib.pm
Expand Up @@ -105,6 +105,7 @@ sub new {
# See Foswiki::Query::QueryAlgorithms.pm for details
sub query {
my ( $this, $query, $topics, $session, $options ) = @_;

unless ( UNIVERSAL::isa( $this, __PACKAGE__ ) ) {

# Sven changed the API to OO based to allow re-use of
Expand Down
6 changes: 3 additions & 3 deletions lib/Foswiki/Store/SearchAlgorithms/DBIStoreContrib.pm
Expand Up @@ -101,15 +101,15 @@ sub query {

$query = $queryParser->parse($search);

return Foswiki::Store::QueryAlgorithms::DBIStoreContrib::query( $query,
$inputTopicSet, $session, $options );
Foswiki::Store::QueryAlgorithms::DBIStoreContrib->new()
->query( $query, $inputTopicSet, $session, $options );
}

1;
__END__
Author: Crawford Currie http://c-dot.co.uk
Copyright (C) 2010 Foswiki Contributors. All Rights Reserved.
Copyright (C) 2010-2017 Foswiki Contributors. All Rights Reserved.
Foswiki Contributors are listed in the AUTHORS file in the root
of this distribution. NOTE: Please extend that file, not this notice.
Expand Down

0 comments on commit c65856e

Please sign in to comment.