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

(-)a/Koha/Library/FloatLimits.pm (-2 / +2 lines)
Lines 187-193 sub lowest_ratio_library { Link Here
187
            }
187
            }
188
        }
188
        }
189
189
190
        my $ratio = $item_count / $float_limit_val;
190
        # Guard against division by zero (float_limit_val should never be 0 due to search filter, but be safe)
191
        my $ratio = $float_limit_val > 0 ? $item_count / $float_limit_val : 999999;
191
192
192
        push @candidates, {
193
        push @candidates, {
193
            branchcode  => $branch,
194
            branchcode  => $branch,
194
- 

Return to bug 28530