]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous-opac-tag-circed-items.sql
be200f7562f6d75cb30262de712df944f27bef1f
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / XXXX.data.yaous-opac-tag-circed-items.sql
1 -- Evergreen DB patch XXXX.data.yaous-opac-tag-circed-items.sql
2 --
3 BEGIN;
4
5
6 -- check whether patch can be applied
7 SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
8
9 INSERT into config.org_unit_setting_type 
10     (name, grp, label, description, datatype) 
11     VALUES ( 
12         'opac.search.tag_circulated_items', 
13         'opac',
14         oils_i18n_gettext(
15             'opac.search.tag_circulated_items',
16             'Tag Circulated Items in Results',
17             'coust', 
18             'label'
19         ),
20         oils_i18n_gettext(
21             'opac.search.tag_circulated_items',
22             'When a user is both logged in and has opted in to circ history tracking, turning on this setting will cause previous (or currenlty) circulated items to be highlighted in search results',
23             'coust', 
24             'description'
25         ),
26         'bool'
27     );
28
29
30 COMMIT;