Bug 20404: Turn on ExtendedPatronAttributes by default for new installations
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 10 May 2018 19:05:07 +0000 (21:05 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 14 May 2018 13:36:12 +0000 (10:36 -0300)
Extended patron attributes are a very useful feature that should be
more obvious. We should activate them by default for new installations.

For testing:
- Run the web isntaller on an empty database
- Check that after installation ExtendedPatronAttributes is turned on

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/sysprefs.sql

index d12791b..9f90163 100644 (file)
@@ -163,7 +163,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
 ('ExcludeHolidaysFromMaxPickUpDelay', '0', NULL, 'If ON, reserves max pickup delay takes into accountthe closed days.', 'YesNo'),
 ('ExportCircHistory', 0, NULL, "Display the export circulation options",  'YesNo' ),
 ('ExportRemoveFields','',NULL,'List of fields for non export in circulation.pl (separated by a space)','Free'),
-('ExtendedPatronAttributes','0',NULL,'Use extended patron IDs and attributes','YesNo'),
+('ExtendedPatronAttributes','1',NULL,'Use extended patron IDs and attributes','YesNo'),
 ('FacetLabelTruncationLength','20',NULL,'Specify the facet max length in OPAC','Integer'),
 ('FacetMaxCount','20',NULL,'Specify the max facet count for each category','Integer'),
 ('FailedLoginAttempts','','','Number of login attempts before lockout the patron account','Integer'),