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