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

(-)a/misc/devel/populate_db.pl (-1 / +5 lines)
Lines 25-30 use Pod::Usage; Link Here
25
use C4::Installer;
25
use C4::Installer;
26
use C4::Context;
26
use C4::Context;
27
27
28
use Koha::SearchEngine::Elasticsearch;
29
28
=head1 NAME
30
=head1 NAME
29
31
30
populate_db.pl - Load included sample data into the DB
32
populate_db.pl - Load included sample data into the DB
Lines 160-165 sub initialize_data { Link Here
160
        INSERT INTO systempreferences(variable, value, options, explanation, type)
162
        INSERT INTO systempreferences(variable, value, options, explanation, type)
161
        VALUES ('Version', '$version', NULL, 'The Koha database version. WARNING: Do not change this value manually, it is maintained by the webinstaller', NULL)
163
        VALUES ('Version', '$version', NULL, 'The Koha database version. WARNING: Do not change this value manually, it is maintained by the webinstaller', NULL)
162
    });
164
    });
165
166
    # Initialize ES mappings
167
    Koha::SearchEngine::Elasticsearch->reset_elasticsearch_mappings;
163
}
168
}
164
169
165
sub execute_sqlfile {
170
sub execute_sqlfile {
166
- 

Return to bug 17567