View | Details | Raw Unified | Return to bug 17189
Collapse All | Expand All

(-)a/Koha/MetaSearcher.pm (-4 / +2 lines)
Lines 25-31 use C4::Charset qw( MarcToUTF8Record ); Link Here
25
use C4::Search qw(); # Purely for new_record_from_zebra
25
use C4::Search qw(); # Purely for new_record_from_zebra
26
use DBIx::Class::ResultClass::HashRefInflator;
26
use DBIx::Class::ResultClass::HashRefInflator;
27
use IO::Select;
27
use IO::Select;
28
use Koha::Cache;
28
use Koha::Caches;
29
use Koha::Database;
29
use Koha::Database;
30
use Koha::MetadataRecord;
30
use Koha::MetadataRecord;
31
use MARC::File::XML;
31
use MARC::File::XML;
Lines 91-98 sub search { Link Here
91
91
92
    my $resultset_expiry = 300;
92
    my $resultset_expiry = 300;
93
93
94
    my $cache;
94
    my $cache = Koha::Caches->get_instance();
95
    eval { $cache = Koha::Cache->new(); };
96
    my $schema = Koha::Database->new->schema;
95
    my $schema = Koha::Database->new->schema;
97
    my $stats = {
96
    my $stats = {
98
        num_fetched => {
97
        num_fetched => {
99
- 

Return to bug 17189