Bug 5795 Update the database as follow-up If sys pref
authorAmit Gupta <amit.gupta@osslabs.biz>
Tue, 22 May 2012 10:32:31 +0000 (16:02 +0530)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 28 May 2012 09:44:04 +0000 (21:44 +1200)
commita8a16233336895e1e4514aa7f6e82b70a8183743
tree2f2fce394ad18e08d6ebc0c82056834a21ed0eba
parentf4df63b153f1995606d475124702104f2ed182d3
Bug 5795 Update the database as follow-up If sys pref

ReservesControlBranch has null then update the table to
insert a PatronLibrary as value

To Test:
1) Go to mysql use koha database
2) select * from systempreferences where variable = 'ReservesControlBranch'; Check if value set to ItemHomeLibrary.
+-----------------------+-----------------+-------------------------------+-------------------------------------------------+--------+
| variable              | value           | options                       | explanation                                     | type   |
+-----------------------+-----------------+-------------------------------+-------------------------------------------------+--------+
| ReservesControlBranch | PatronLibrary   | ItemHomeLibrary|PatronLibrary | Branch checked for members reservations rights. | Choice |
+-----------------------+-----------------+-------------------------------+-------------------------------------------------+--------+

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Conflicts:

installer/data/mysql/updatedatabase.pl

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Fixed for 3.8.x
installer/data/mysql/updatedatabase.pl