LP1951162 Migrate copy templates setting
authorBill Erickson <berickxx@gmail.com>
Fri, 3 Dec 2021 18:27:01 +0000 (13:27 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 24 Mar 2022 18:36:06 +0000 (14:36 -0400)
commit678692c5480cca7f52b3eb9abc9bab9468c68d57
treea3ea0dc73d045b12c1ecec9a58dcebd3f0cbcedf
parentf829b160ded5535a697412ef8e71e39c80d1db59
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>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Mike Rylander <mrylander@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