From: Galen Charlton Date: Wed, 10 Mar 2021 22:14:47 +0000 (-0500) Subject: LP#1891550: stamp schema update and add release notes entry X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=61681d9910c26c6425bb9de12af0c292dd947e80;p=evergreen%2Fpines.git LP#1891550: stamp schema update and add release notes entry Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 326fc4f62c..50e80479e0 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -92,7 +92,7 @@ CREATE TRIGGER no_overlapping_deps BEFORE INSERT OR UPDATE ON config.db_patch_dependencies FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates'); -INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1252', :eg_version); -- sandbergja/rhamby/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1253', :eg_version); -- berick/terranm/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1253.data.booking-print-context.sql b/Open-ILS/src/sql/Pg/upgrade/1253.data.booking-print-context.sql new file mode 100644 index 0000000000..e910477317 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1253.data.booking-print-context.sql @@ -0,0 +1,16 @@ + +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1253', :eg_version); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.print.template_context.booking_capture', 'gui', 'string', + oils_i18n_gettext( + 'eg.print.template_context.booking_capture', + 'Print Template Context: booking_capture', + 'cwst', 'label' + ) +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.booking-print-context.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.booking-print-context.sql deleted file mode 100644 index 3b9c902fbe..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.booking-print-context.sql +++ /dev/null @@ -1,16 +0,0 @@ - -BEGIN; - --- SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version); - -INSERT INTO config.workstation_setting_type (name, grp, datatype, label) -VALUES ( - 'eg.print.template_context.booking_capture', 'gui', 'string', - oils_i18n_gettext( - 'eg.print.template_context.booking_capture', - 'Print Template Context: booking_capture', - 'cwst', 'label' - ) -); - -COMMIT; diff --git a/docs/RELEASE_NOTES_NEXT/miscellaneous.adoc b/docs/RELEASE_NOTES_NEXT/miscellaneous.adoc index 3d1b765064..0f4d43a1e3 100644 --- a/docs/RELEASE_NOTES_NEXT/miscellaneous.adoc +++ b/docs/RELEASE_NOTES_NEXT/miscellaneous.adoc @@ -13,5 +13,8 @@ * The staff catalog now has the ability to add all search results (up to 1,000 titles) to the basket in one fell swoop. * Add 'All Videos' as a search format. + * Server-side print templates can now have print contexts set. + * Add ability to set the print context for a print template to "No-Print" + to specify, well, that a given receipt should never be printed. For acknowledgments: Carmen Oleskevich (French translations; staff member at BC Coop)