Bug 25232: Add ability to specify multiple notforloan values to skip
[koha.git] / installer / data / mysql / atomicupdate / bug_25232.perl
1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3     # $dbh->do( "ALTER TABLE biblio ADD COLUMN badtaste int" );
4     $dbh->do(q{
5         INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
6         ('SkipHoldTrapOnNotForLoanValue','',NULL,'If set, Koha will never trap items for hold with this notforloan value','Integer')
7     });
8
9     # Always end with this (adjust the bug info)
10     NewVersion( $DBversion, 25184, "Items with a negative notforloan status should not be captured for holds");
11 }