Lines 305-328
if ($add_op) {
Link Here
|
305 |
$arghash->{biblionumber} = $arg; |
305 |
$arghash->{biblionumber} = $arg; |
306 |
} |
306 |
} |
307 |
$results = get_approval_rows($arghash); |
307 |
$results = get_approval_rows($arghash); |
308 |
my @filtered_results; |
|
|
309 |
foreach my $my_tag (@$my_tags) { |
310 |
if (grep { $_->{term} eq $my_tag->{term} } @$results) { |
311 |
if (! $my_tag->{visible} ) { |
312 |
my $check_biblio = GetMarcBiblio({ |
313 |
biblionumber => $my_tag->{biblionumber}, |
314 |
embed_items => 1, |
315 |
opac => 1, |
316 |
borcat => $borcat }); |
317 |
if ($check_biblio) { |
318 |
push @filtered_results, $my_tag; |
319 |
} |
320 |
} else { |
321 |
push @filtered_results, $my_tag; |
322 |
} |
323 |
} |
324 |
} |
325 |
$results = \@filtered_results; |
326 |
stratify_tags(10, $results); # work out the differents sizes for things |
308 |
stratify_tags(10, $results); # work out the differents sizes for things |
327 |
my $count = scalar @$results; |
309 |
my $count = scalar @$results; |
328 |
$template->param(TAGLOOP_COUNT => $count, mine => $mine); |
310 |
$template->param(TAGLOOP_COUNT => $count, mine => $mine); |
329 |
- |
|
|