From: phasefx Date: Fri, 6 Nov 2009 21:09:48 +0000 (+0000) Subject: Wire up the org unit settings related to the Work Log interface X-Git-Tag: kcls-grey-screen-prod1~3072 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ab32059f20c5d4f4b149236dd281c2b93429c19f;p=evergreen%2Fequinox.git Wire up the org unit settings related to the Work Log interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@14815 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 63e38e4123..267ca06b06 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -51,7 +51,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0073'); -- miker +INSERT INTO config.upgrade_log (version) VALUES ('0074'); -- phasefx CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index d0b952b75d..284483fd83 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1761,7 +1761,17 @@ INSERT into config.org_unit_setting_type ( 'credit.processor.paypal.testmode', 'Credit card processing: PayPal test mode', '', - 'bool' ) + 'bool' ), + +( 'ui.admin.work_log.max_entries', + oils_i18n_gettext('ui.admin.work_log.max_entries', 'GUI: Work Log: Maximum Actions Logged', 'coust', 'label'), + oils_i18n_gettext('ui.admin.work_log.max_entries', 'Maximum entries for "Most Recent Staff Actions" section of the Work Log interface.', 'coust', 'description'), + 'interval' ), + +( 'ui.admin.patron_log.max_entries', + oils_i18n_gettext('ui.admin.patron_log.max_entries', 'GUI: Work Log: Maximum Patrons Logged', 'coust', 'label'), + oils_i18n_gettext('ui.admin.patron_log.max_entries', 'Maximum entries for "Most Recently Affected Patrons..." section of the Work Log interface.', 'coust', 'description'), + 'interval' ) ; diff --git a/Open-ILS/src/sql/Pg/upgrade/0074.data.org-setting-work-log.sql b/Open-ILS/src/sql/Pg/upgrade/0074.data.org-setting-work-log.sql new file mode 100644 index 0000000000..6963a6f985 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0074.data.org-setting-work-log.sql @@ -0,0 +1,17 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('0074'); -- phasefx + +INSERT INTO config.org_unit_setting_type ( name, label, description, datatype ) VALUES + ( 'ui.admin.work_log.max_entries', + oils_i18n_gettext('ui.admin.work_log.max_entries', 'GUI: Work Log: Maximum Actions Logged', 'coust', 'label'), + oils_i18n_gettext('ui.admin.work_log.max_entries', 'Maximum entries for "Most Recent Staff Actions" section of the Work Log interface.', 'coust', 'description'), + 'interval' ), + + ( 'ui.admin.patron_log.max_entries', + oils_i18n_gettext('ui.admin.patron_log.max_entries', 'GUI: Work Log: Maximum Patrons Logged', 'coust', 'label'), + oils_i18n_gettext('ui.admin.patron_log.max_entries', 'Maximum entries for "Most Recently Affected Patrons..." section of the Work Log interface.', 'coust', 'description'), + 'interval' ) +; + +COMMIT;