]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0884.data.rename_bookbag_to_mylist.sql
LP1615805 No inputs after submit in patron search (AngularJS)
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0884.data.rename_bookbag_to_mylist.sql
1 BEGIN;
2 -- check whether patch can be applied
3 SELECT evergreen.upgrade_deps_block_check('0884', :eg_version);
4
5 UPDATE container.biblio_record_entry_bucket_type
6 SET label = oils_i18n_gettext(
7         'bookbag',
8         'Book List',
9         'cbrebt',
10         'label'
11 ) WHERE code = 'bookbag';
12
13 UPDATE container.user_bucket_type
14 SET label = oils_i18n_gettext(
15         'folks:pub_book_bags.view',
16         'List Published Book Lists',
17         'cubt',
18         'label'
19 ) WHERE code = 'folks:pub_book_bags.view';
20
21 UPDATE container.user_bucket_type
22 SET label = oils_i18n_gettext(
23         'folks:pub_book_bags.add',
24         'Add to Published Book Lists',
25         'cubt',
26         'label'
27 ) WHERE code = 'folks:pub_book_bags.add';
28
29 UPDATE action_trigger.hook
30 SET description = oils_i18n_gettext(
31         'container.biblio_record_entry_bucket.csv',
32         'Produce a CSV file representing a book list',
33         'ath',
34         'description'
35 ) WHERE key = 'container.biblio_record_entry_bucket.csv';
36
37 UPDATE action_trigger.reactor
38 SET description = oils_i18n_gettext(
39         'ContainerCSV',
40         'Facilitates producing a CSV file representing a book list by introducing an "items" variable into the TT environment, sorted as dictated according to user params',
41         'atr',
42         'description'
43 )
44 WHERE module = 'ContainerCSV';
45
46 UPDATE action_trigger.event_definition
47 SET template = REPLACE(template, 'bookbag', 'book list'),
48 name = 'Book List CSV'
49 WHERE name = 'Bookbag CSV';
50
51 UPDATE config.org_unit_setting_type
52 SET description = oils_i18n_gettext(
53         'opac.patron.temporary_list_warn',
54         'Present a warning dialog to the patron when a patron adds a book to a temporary book list.',
55         'coust',
56         'description'
57 ) WHERE name = 'opac.patron.temporary_list_warn';
58
59 UPDATE config.usr_setting_type
60 SET label = oils_i18n_gettext(
61         'opac.default_list',
62         'Default list to use when adding to a list',
63         'cust',
64         'label'
65 ),
66 description = oils_i18n_gettext(
67         'opac.default_list',
68         'Default list to use when adding to a list',
69         'cust',
70         'description'
71 ) WHERE name = 'opac.default_list';
72
73 COMMIT;