|
Lines 352-357
sub build_authorities_query {
Link Here
|
| 352 |
{ must => \@query_parts } |
352 |
{ must => \@query_parts } |
| 353 |
} |
353 |
} |
| 354 |
}; |
354 |
}; |
|
|
355 |
if ( $search->{authtypecode} ) { |
| 356 |
$query->{query}->{bool}->{filter} = { term => { 'authtype' => lc $search->{authtypecode} } }; |
| 357 |
} |
| 355 |
|
358 |
|
| 356 |
my %s; |
359 |
my %s; |
| 357 |
if ( exists $search->{sort} ) { |
360 |
if ( exists $search->{sort} ) { |
| 358 |
- |
|
|