From b94b54fc85c9bb302ab7cbe30dbad32cfc13e2b3 Mon Sep 17 00:00:00 2001 From: Remington Steed Date: Tue, 15 May 2018 09:46:41 -0400 Subject: [PATCH] LP#1325704: Update Items-Out YAOUS descrip for web client Three settings refer to the "top" and "bottom" lists on the XUL client Items Out screen. With the web client, these have become three named tabs. This commit updates the setting descriptions in the seed data so they reflect the new design. I also attempted to make the meaning of the values more clear by labeling the two subsettings as "A" and "B". Signed-off-by: Remington Steed Signed-off-by: Terran McCanna Signed-off-by: Chris Sharp --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 33 +++++++------ .../XXXX.schema.lost_lo_claimsret_descrip.sql | 54 ++++++++++++++++++++++ 2 files changed, 72 insertions(+), 15 deletions(-) create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lost_lo_claimsret_descrip.sql 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 690c5d5464..bf9b3293ec 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -16954,12 +16954,13 @@ VALUES ( ), oils_i18n_gettext( 'ui.circ.items_out.longoverdue', -'Value is a numeric code, describing which list the circulation '|| -'should appear while checked out and whether the circulation should '|| -'continue to appear in the bottom list, when checked in with '|| +'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '|| +'or "Other/Special Circulations") the circulation '|| +'should appear while checked out, and B. Whether the circulation should '|| +'continue to appear in the "Other" tab when checked in with '|| 'oustanding fines. '|| -'1 = top list, bottom list. 2 = bottom list, bottom list. ' || -'5 = top list, do not display. 6 = bottom list, do not display.', +'1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' || +'5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.', 'coust', 'description' ) @@ -16973,12 +16974,13 @@ VALUES ( ), oils_i18n_gettext( 'ui.circ.items_out.lost', -'Value is a numeric code, describing which list the circulation '|| -'should appear while checked out and whether the circulation should '|| -'continue to appear in the bottom list, when checked in with '|| +'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '|| +'or "Other/Special Circulations") the circulation '|| +'should appear while checked out, and B. Whether the circulation should '|| +'continue to appear in the "Other" tab when checked in with '|| 'oustanding fines. '|| -'1 = top list, bottom list. 2 = bottom list, bottom list. ' || -'5 = top list, do not display. 6 = bottom list, do not display.', +'1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' || +'5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.', 'coust', 'description' ) @@ -16992,12 +16994,13 @@ VALUES ( ), oils_i18n_gettext( 'ui.circ.items_out.claimsreturned', -'Value is a numeric code, describing which list the circulation '|| -'should appear while checked out and whether the circulation should '|| -'continue to appear in the bottom list, when checked in with '|| +'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '|| +'or "Other/Special Circulations") the circulation '|| +'should appear while checked out, and B. Whether the circulation should '|| +'continue to appear in the "Other" tab when checked in with '|| 'oustanding fines. '|| -'1 = top list, bottom list. 2 = bottom list, bottom list. ' || -'5 = top list, do not display. 6 = bottom list, do not display.', +'1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' || +'5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.', 'coust', 'description' ) diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lost_lo_claimsret_descrip.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lost_lo_claimsret_descrip.sql new file mode 100644 index 0000000000..6b0a41a6fd --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lost_lo_claimsret_descrip.sql @@ -0,0 +1,54 @@ +BEGIN; + +-- check whether patch can be applied +SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + +-- Long Overdue +UPDATE config.org_unit_setting_type +SET description = oils_i18n_gettext( + 'ui.circ.items_out.longoverdue', +'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '|| +'or "Other/Special Circulations") the circulation '|| +'should appear while checked out, and B. Whether the circulation should '|| +'continue to appear in the "Other" tab when checked in with '|| +'oustanding fines. '|| +'1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' || +'5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.', + 'coust', + 'description' + ) +WHERE NAME = 'ui.circ.items_out.longoverdue'; + +-- Lost +UPDATE config.org_unit_setting_type +SET description = oils_i18n_gettext( + 'ui.circ.items_out.lost', +'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '|| +'or "Other/Special Circulations") the circulation '|| +'should appear while checked out, and B. Whether the circulation should '|| +'continue to appear in the "Other" tab when checked in with '|| +'oustanding fines. '|| +'1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' || +'5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.', + 'coust', + 'description' + ) +WHERE NAME = 'ui.circ.items_out.lost'; + +-- Claims Returned +UPDATE config.org_unit_setting_type +SET description = oils_i18n_gettext( + 'ui.circ.items_out.claimsreturned', +'Value is a numeric code, describing: A. In which tab ("Items Checked Out", '|| +'or "Other/Special Circulations") the circulation '|| +'should appear while checked out, and B. Whether the circulation should '|| +'continue to appear in the "Other" tab when checked in with '|| +'oustanding fines. '|| +'1 = (A) "Items", (B) "Other". 2 = (A) "Other", (B) "Other". ' || +'5 = (A) "Items", (B) do not display. 6 = (A) "Other", (B) do not display.', + 'coust', + 'description' + ) +WHERE NAME = 'ui.circ.items_out.claimsreturned'; + +COMMIT; -- 2.11.0