]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0635.data.opac.jump-to-details-setting.sql
LP1779158 Angular7 and ng-lint updates
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0635.data.opac.jump-to-details-setting.sql
1 -- Evergreen DB patch 0635.data.opac.jump-to-details-setting.sql
2 --
3 BEGIN;
4
5
6 -- check whether patch can be applied
7 SELECT evergreen.upgrade_deps_block_check('0635', :eg_version);
8
9 INSERT INTO config.org_unit_setting_type ( name, grp, label, description, datatype )
10     VALUES (
11         'opac.staff.jump_to_details_on_single_hit', 
12         'opac',
13         oils_i18n_gettext(
14             'opac.staff.jump_to_details_on_single_hit',
15             'Jump to details on 1 hit (staff client)',
16             'coust', 
17             'label'
18         ),
19         oils_i18n_gettext(
20             'opac.staff.jump_to_details_on_single_hit',
21             'When a search yields only 1 result, jump directly to the record details page.  This setting only affects the OPAC within the staff client',
22             'coust', 
23             'description'
24         ),
25         'bool'
26     ), (
27         'opac.patron.jump_to_details_on_single_hit', 
28         'opac',
29         oils_i18n_gettext(
30             'opac.patron.jump_to_details_on_single_hit',
31             'Jump to details on 1 hit (public)',
32             'coust', 
33             'label'
34         ),
35         oils_i18n_gettext(
36             'opac.patron.jump_to_details_on_single_hit',
37             'When a search yields only 1 result, jump directly to the record details page.  This setting only affects the public OPAC',
38             'coust', 
39             'description'
40         ),
41         'bool'
42     );
43
44 COMMIT;