]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0830.data.my_list_lists_per_page_setting.sql
LP2042879 Shelving Location Groups Admin accessibility
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0830.data.my_list_lists_per_page_setting.sql
1 --
2 -- Adds a setting for selecting the number of lists per page for my list.
3 --
4 BEGIN;
5
6 -- check whether patch can be applied
7 SELECT evergreen.upgrade_deps_block_check('0830', :eg_version);
8
9 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
10     VALUES (
11         'opac.lists_per_page',
12         TRUE,
13         oils_i18n_gettext(
14             'opac.lists_per_page',
15             'Lists per Page',
16             'cust',
17             'label'
18         ),
19         oils_i18n_gettext(
20             'opac.lists_per_page',
21             'A number designating the amount of lists displayed per page.',
22             'cust',
23             'description'
24         ),
25         'string'
26     );
27     
28 COMMIT;