From 5cec7db3f311f59878656d735da6ec4deccd4a48 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 f4ee3a5c11..63a07d47e6 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -16842,12 +16842,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' ) @@ -16861,12 +16862,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' ) @@ -16880,12 +16882,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