|
Lines 287-299
sub SimpleSearch {
Link Here
|
| 287 |
|
287 |
|
| 288 |
$koha_query, $simple_query, $sort_by_ref, $servers_ref, |
288 |
$koha_query, $simple_query, $sort_by_ref, $servers_ref, |
| 289 |
$results_per_page, $offset, $expanded_facet, $branches, |
289 |
$results_per_page, $offset, $expanded_facet, $branches, |
| 290 |
$query_type, $scan |
290 |
$query_type, $scan, $opac |
| 291 |
); |
291 |
); |
| 292 |
|
292 |
|
| 293 |
The all singing, all dancing, multi-server, asynchronous, scanning, |
293 |
The all singing, all dancing, multi-server, asynchronous, scanning, |
| 294 |
searching, record nabbing, facet-building |
294 |
searching, record nabbing, facet-building |
| 295 |
|
295 |
|
| 296 |
See verbse embedded documentation. |
296 |
See verbose embedded documentation. |
| 297 |
|
297 |
|
| 298 |
=cut |
298 |
=cut |
| 299 |
|
299 |
|
|
Lines 301-307
sub getRecords {
Link Here
|
| 301 |
my ( |
301 |
my ( |
| 302 |
$koha_query, $simple_query, $sort_by_ref, $servers_ref, |
302 |
$koha_query, $simple_query, $sort_by_ref, $servers_ref, |
| 303 |
$results_per_page, $offset, $expanded_facet, $branches, |
303 |
$results_per_page, $offset, $expanded_facet, $branches, |
| 304 |
$query_type, $scan |
304 |
$query_type, $scan, $opac |
| 305 |
) = @_; |
305 |
) = @_; |
| 306 |
|
306 |
|
| 307 |
my @servers = @$servers_ref; |
307 |
my @servers = @$servers_ref; |
|
Lines 562-567
sub getRecords {
Link Here
|
| 562 |
} |
562 |
} |
| 563 |
} |
563 |
} |
| 564 |
|
564 |
|
|
|
565 |
# also, if it's a location code, use the name instead of code |
| 566 |
if ( $link_value =~ /location/ ) { |
| 567 |
$facet_label_value = GetKohaAuthorisedValueLib('LOC', $one_facet, $opac) || '*'; |
| 568 |
} |
| 569 |
|
| 565 |
# but we're down with the whole label being in the link's title. |
570 |
# but we're down with the whole label being in the link's title. |
| 566 |
push @this_facets_array, { |
571 |
push @this_facets_array, { |
| 567 |
facet_count => $facets_counter->{$link_value}->{$one_facet}, |
572 |
facet_count => $facets_counter->{$link_value}->{$one_facet}, |