From 73b7ace22996370f5bc8e338f115a3d9dd03b349 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 31 Jul 2018 16:52:18 -0400 Subject: [PATCH] LP#1750894 Additional workstation setting types + repairs Added new workstation setting types: circ.checkout.strict_barcode cat.holdings_show_empty_org cat.copy.defaults cat.printlabels.default_template cat.printlabels.templates Bump perm ID in seed data, take 2. Signed-off-by: Bill Erickson Signed-off-by: Kathy Lussier --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 39 ++++++++++++++++++- .../YYYY.data.workstation-settings.sql | 35 +++++++++++++++++ 2 files changed, 72 insertions(+), 2 deletions(-) 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 2aba1bada1..c2eb7f6809 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1906,8 +1906,8 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES 'Delete copy alerts', 'ppl', 'description' )), ( 607, 'EMERGENCY_CLOSING', oils_i18n_gettext( 607, 'Create and manage Emergency Closings', 'ppl', 'description' )), - (607, 'APPLY_WORKSTATION_SETTING', - oils_i18n_gettext(607, 'APPLY_WORKSTATION_SETTING', 'ppl', 'description')) + (608, 'APPLY_WORKSTATION_SETTING', + oils_i18n_gettext(608, 'APPLY_WORKSTATION_SETTING', 'ppl', 'description')) ; @@ -18425,6 +18425,13 @@ VALUES ( 'Checkin: Strict Barcode', 'cwst', 'label' ) +), ( + 'circ.checkout.strict_barcode', 'circ', 'bool', + oils_i18n_gettext( + 'circ.checkout.strict_barcode', + 'Checkout: Strict Barcode', + 'cwst', 'label' + ) ), ( 'cat.holdings_show_copies', 'cat', 'bool', oils_i18n_gettext( @@ -18439,6 +18446,13 @@ VALUES ( 'Holdings View Show Empty Volumes', 'cwst', 'label' ) +), ( + 'cat.holdings_show_empty_org', 'cat', 'bool', + oils_i18n_gettext( + 'cat.holdings_show_empty_org', + 'Holdings View Show Empty Orgs', + 'cwst', 'label' + ) ), ( 'cat.holdings_show_vols', 'cat', 'bool', oils_i18n_gettext( @@ -18446,6 +18460,27 @@ VALUES ( 'Holdings View Show Volumes', 'cwst', 'label' ) +), ( + 'cat.copy.defaults', 'cat', 'object', + oils_i18n_gettext( + 'cat.copy.defaults', + 'Copy Edit Default Values', + 'cwst', 'label' + ) +), ( + 'cat.printlabels.default_template', 'cat', 'string', + oils_i18n_gettext( + 'cat.printlabels.default_template', + 'Print Label Default Template', + 'cwst', 'label' + ) +), ( + 'cat.printlabels.templates', 'cat', 'object', + oils_i18n_gettext( + 'cat.printlabels.templates', + 'Print Label Templates', + 'cwst', 'label' + ) ), ( 'eg.circ.patron.search.include_inactive', 'circ', 'bool', oils_i18n_gettext( diff --git a/Open-ILS/src/sql/Pg/upgrade/YYYY.data.workstation-settings.sql b/Open-ILS/src/sql/Pg/upgrade/YYYY.data.workstation-settings.sql index 12046cd6d0..ba841cd516 100644 --- a/Open-ILS/src/sql/Pg/upgrade/YYYY.data.workstation-settings.sql +++ b/Open-ILS/src/sql/Pg/upgrade/YYYY.data.workstation-settings.sql @@ -96,6 +96,13 @@ VALUES ( 'Checkin: Strict Barcode', 'cwst', 'label' ) +), ( + 'circ.checkout.strict_barcode', 'circ', 'bool', + oils_i18n_gettext( + 'circ.checkout.strict_barcode', + 'Checkout: Strict Barcode', + 'cwst', 'label' + ) ), ( 'cat.holdings_show_copies', 'cat', 'bool', oils_i18n_gettext( @@ -110,6 +117,13 @@ VALUES ( 'Holdings View Show Empty Volumes', 'cwst', 'label' ) +), ( + 'cat.holdings_show_empty_org', 'cat', 'bool', + oils_i18n_gettext( + 'cat.holdings_show_empty_org', + 'Holdings View Show Empty Orgs', + 'cwst', 'label' + ) ), ( 'cat.holdings_show_vols', 'cat', 'bool', oils_i18n_gettext( @@ -117,6 +131,27 @@ VALUES ( 'Holdings View Show Volumes', 'cwst', 'label' ) +), ( + 'cat.copy.defaults', 'cat', 'object', + oils_i18n_gettext( + 'cat.copy.defaults', + 'Copy Edit Default Values', + 'cwst', 'label' + ) +), ( + 'cat.printlabels.default_template', 'cat', 'string', + oils_i18n_gettext( + 'cat.printlabels.default_template', + 'Print Label Default Template', + 'cwst', 'label' + ) +), ( + 'cat.printlabels.templates', 'cat', 'object', + oils_i18n_gettext( + 'cat.printlabels.templates', + 'Print Label Templates', + 'cwst', 'label' + ) ), ( 'eg.circ.patron.search.include_inactive', 'circ', 'bool', oils_i18n_gettext( -- 2.43.2