@@ -, +, @@ instead of equals next unless $budget->{budget_branchcode} =~ m/$filter_budgetbranch/; - Create a branch with code '1' and one with code '12' - Create budgets in both branches - Go to admin/aqbudgets.pl - Filter by branch '12' - Filter by branch '1' --- admin/aqbudgets.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/admin/aqbudgets.pl +++ a/admin/aqbudgets.pl @@ -296,7 +296,7 @@ if ($op eq 'add_form') { || $budget->{budget_name} =~ m/$filter_budgetname/i; } if ($filter_budgetbranch ) { - next unless $budget->{budget_branchcode} =~ m/$filter_budgetbranch/; + next unless $budget->{budget_branchcode} eq $filter_budgetbranch; } ## TOTALS --