View | Details | Raw Unified | Return to bug 36785
Collapse All | Expand All

(-)a/opac/opac-tags.pl (-6 / +4 lines)
Lines 332-342 if ($add_op) { Link Here
332
	my $arghash = {approved=>1, limit=>$limit, 'sort'=>'-weight_total'};
332
	my $arghash = {approved=>1, limit=>$limit, 'sort'=>'-weight_total'};
333
    $arghash->{'borrowernumber'} = $loggedinuser if $mine;
333
    $arghash->{'borrowernumber'} = $loggedinuser if $mine;
334
	# ($openadds) or $arghash->{approved} = 1;
334
	# ($openadds) or $arghash->{approved} = 1;
335
	if ($arg = $query->param('tag')) {
335
    if ( $arg = $query->param('tag') ) {
336
		$arghash->{term} = $arg;
336
        $arghash->{term} = $arg;
337
	} elsif ($arg = $query->param('biblionumber')) {
337
    }
338
		$arghash->{biblionumber} = $arg;
338
    # Bug 36785: Do not pass biblionumber: get_approval_rows does not 'recognize' biblionumber
339
	}
340
	$results = get_approval_rows($arghash);
339
	$results = get_approval_rows($arghash);
341
    stratify_tags(10, $results); # work out the differents sizes for things
340
    stratify_tags(10, $results); # work out the differents sizes for things
342
	my $count = scalar @$results;
341
	my $count = scalar @$results;
343
- 

Return to bug 36785