[Koha-bugs] [Bug 11166] New: branch filter in budgets admin uses pattern match instead of equals

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 30 09:46:27 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11166

            Bug ID: 11166
           Summary: branch filter in budgets admin uses pattern match
                    instead of equals
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolyn.somers at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

In budgets administration, admin/aqbudgets.pl, there is a combobox for
filtering by branch code.
The bug is that the filter uses a pattern match  instead of equals : 
  next unless $budget->{budget_branchcode} =~ m/$filter_budgetbranch/;
In this case, if there is a branch with code '1' and one with code '12',
filtering by branch '1' will also show budgets of branch '12'.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list