From: Mike Rylander Date: Mon, 26 Mar 2012 17:53:19 +0000 (-0400) Subject: Add patron prefix upgrade to the version upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6d6e118eeaed3c569932c7767c86478d89bac3fe;p=contrib%2FConifer.git Add patron prefix upgrade to the version upgrade script Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql index 8c79061aa6..617b2061f1 100644 --- a/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql +++ b/Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql @@ -15041,4 +15041,37 @@ SELECT metabib.reingest_metabib_field_entries(source) ; +SELECT evergreen.upgrade_deps_block_check('0694', :eg_version); + +INSERT into config.org_unit_setting_type +( name, grp, label, description, datatype, fm_class ) VALUES + +( 'ui.patron.edit.au.prefix.require', 'gui', + oils_i18n_gettext('ui.patron.edit.au.prefix.require', + 'Require prefix field on patron registration', + 'coust', 'label'), + oils_i18n_gettext('ui.patron.edit.au.prefix.require', + 'The prefix field will be required on the patron registration screen.' + 'coust', 'description'), + 'bool', null) + +,( 'ui.patron.edit.au.prefix.show', 'gui', + oils_i18n_gettext('ui.patron.edit.au.prefix.show', + 'Show prefix field on patron registration', + 'coust', 'label'), + oils_i18n_gettext('ui.patron.edit.au.prefix.show', + 'The prefix field will be shown on the patron registration screen. Showing a field makes it appear with required fields even when not required. If the field is required this setting is ignored.' + 'coust', 'description'), + 'bool', null) + +,( 'ui.patron.edit.au.prefix.suggest', 'gui', + oils_i18n_gettext('ui.patron.edit.au.prefix.suggest', + 'Suggest prefix field on patron registration', + 'coust', 'label'), + oils_i18n_gettext('ui.patron.edit.au.prefix.suggest', + 'The prefix field will be suggested on the patron registration screen. Suggesting a field makes it appear when suggested fields are shown. If the field is shown or required this setting is ignored.' + 'coust', 'description'), + 'bool', null) +; + COMMIT;