Browse Source
This adds the ILLOpacbackends syspref, allowing users to refine the ill backends available to opac users for initiating ill requests Remove default assignment for backends We don't need a default assignment for the ILLOpacbackends assignment, if the pref isn't set, it returns undef anyway. Also, having this default assignment actually breaks the fetching of the preference Signed-off-by: Niamh.Walker-Headon@it-tallaght.ie Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>19.05.x
5 changed files with 26 additions and 3 deletions
@ -0,0 +1,11 @@ |
|||||
|
$DBversion = 'XXX'; # will be replaced by the RM |
||||
|
if( CheckVersion( $DBversion ) ) { |
||||
|
$dbh->do(q| |
||||
|
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) |
||||
|
VALUES ('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'); |
||||
|
|); |
||||
|
|
||||
|
# Always end with this (adjust the bug info) |
||||
|
SetVersion( $DBversion ); |
||||
|
print "Upgrade to $DBversion done (Bug 20639 - Add ILLOpacbackends syspref)\n"; |
||||
|
} |
Loading…
Reference in new issue