https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17787

Gérard Simon Voyer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Gérard Simon Voyer <[email protected]> ---
Bonjour everyone!

I've had my shot at this and broke my logic circuits hard.
At first, I tried complex matching rules to try while opening loops done over
@newresults (from opac/opac-search.pl) to get something. That's when I realized
nothing ever matched. Then I realized that @newresults was already filtered,
which is why I had no match.

So in the end :

my $results_count = scalar @newresults;
...
...
         if ($results_hashref->{$server}->{"hits"}){
            $total = $results_count;
         }
...
...
$template->param(total => $total);

gave me the right count...

I'll have to go document myself on how to propose a fix on this issue, but I
think the explanation above can give anyone looking for an answer the missing
piece.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to