projects
/
srvgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 17600: Standardize our EXPORT_OK
[srvgit]
/
Koha
/
SearchEngine
/
Zebra
/
Search.pm
diff --git
a/Koha/SearchEngine/Zebra/Search.pm
b/Koha/SearchEngine/Zebra/Search.pm
index
850469e
..
1d504d3
100644
(file)
--- a/
Koha/SearchEngine/Zebra/Search.pm
+++ b/
Koha/SearchEngine/Zebra/Search.pm
@@
-21,7
+21,7
@@
use Modern::Perl;
use base qw(Class::Accessor);
use base qw(Class::Accessor);
-use C4::Search; # :(
+use C4::Search
qw( getRecords )
; # :(
use C4::AuthoritiesMarc;
use Koha::SearchEngine::Search;
use C4::AuthoritiesMarc;
use Koha::SearchEngine::Search;
@@
-62,7
+62,7
@@
This passes straight through to C4::Search::getRecords.
sub search_compat {
shift; # get rid of $self
sub search_compat {
shift; # get rid of $self
- return getRecords(@_);
+ return
C4::Search::
getRecords(@_);
}
=head2 simple_search_compat
}
=head2 simple_search_compat