Bug 5962 : Budgets showing when they shouldn't (MT #4717) Bug in Koha 3.2 on acqui...
authorChristophe Croullebois <christophe.croullebois@biblibre.com>
Mon, 4 Apr 2011 12:28:19 +0000 (14:28 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 4 Apr 2011 22:11:49 +0000 (10:11 +1200)
commit5910b59d1d4bdbe6fb6152453536bfe64d490c01
tree17abc868e3db383f5fb30564b62d677ea9368183
parent4f2dbc193b8e07e17a1a718cbabe581811fcaaa7
Bug 5962 : Budgets showing when they shouldn't (MT #4717) Bug in Koha 3.2 on acqui-home.pl

In the screen all the budgets with budget_branchcode=NULL were displayed even if the budget_owner_id was not NULL. This patch fixes the bug

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
To test:
1) Add a new fund, leave library empty, owned by yourself
2) Go into the database and change aqbudgets.budget_branchcode to be NULL
3) Check acq home. Before patch the fund will not show up, although it's owned by you.
After patch it will.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Budgets.pm