LP1951162 Migrate copy templates setting
authorBill Erickson <berickxx@gmail.com>
Fri, 3 Dec 2021 18:27:01 +0000 (13:27 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 10 Jan 2022 15:07:05 +0000 (10:07 -0500)
commita77dea3cde1b717ea265254e040d1038dfd49904
tree0120811915e741d83b95e198484cde3be5c894e8
parent420285efbf8fd3032107218ab222d1bb6ab0db02
LP1951162 Migrate copy templates setting

Rename the user setting "webstaff.cat.copy.templates" to
"cat.copy.templates" and migrate any existing values.  This operation is
not performed for any databases where a "cat.copy.templates" user or
workstation setting type already exists.

Teach the Angular copy editor to avoid looking up templates in local
storage, since only XUL templates are stored there, which are not
compatible.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.angular-copy-templates.sql [new file with mode: 0644]
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js