bug 9722: DBrev 3.13.00.004 to add OpacShowHoldNotes syspref
[koha.git] / Koha / SearchEngine / Search.pm
blob8d9b46930500895ddbca98cc7d179b160d715fad
1 package Koha::SearchEngine::Search;
2 use Moose;
3 use C4::Context;
5 use Moose::Util qw( apply_all_roles );
7 sub BUILD {
8 my $self = shift;
9 my $syspref = C4::Context->preference("SearchEngine");
10 apply_all_roles( $self, "Koha::SearchEngine::${syspref}::Search" );