@@ -, +, @@ approved tags [0] { approved 1, approved_by 51, approved_by_name undef, date_approved "2019-02-26 15:36:42", term "another", weight_total 3 }, [1] { ... [0] { approved 1, author "Heylin, Clinton.", biblionumber 1, borrowernumber 51, date_created "2019-02-26 15:36:37", language undef, subtitle [], tag_id 1, term "word", time_created_display "15:36:37", title "E Street shuffle :", visible 1, XSLTBloc " <<>> ... --- opac/opac-tags.pl | 18 ------------------ 1 file changed, 18 deletions(-) --- a/opac/opac-tags.pl +++ a/opac/opac-tags.pl @@ -305,24 +305,6 @@ if ($add_op) { $arghash->{biblionumber} = $arg; } $results = get_approval_rows($arghash); - my @filtered_results; - foreach my $my_tag (@$my_tags) { - if (grep { $_->{term} eq $my_tag->{term} } @$results) { - if (! $my_tag->{visible} ) { - my $check_biblio = GetMarcBiblio({ - biblionumber => $my_tag->{biblionumber}, - embed_items => 1, - opac => 1, - borcat => $borcat }); - if ($check_biblio) { - push @filtered_results, $my_tag; - } - } else { - push @filtered_results, $my_tag; - } - } - } - $results = \@filtered_results; stratify_tags(10, $results); # work out the differents sizes for things my $count = scalar @$results; $template->param(TAGLOOP_COUNT => $count, mine => $mine); --