Bugzilla – Attachment 56600 Details for
Bug 5670
Housebound Readers Module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5670: Add auth_val_cat to auth_val_cat.sql.
Bug-5670-Add-authvalcat-to-authvalcatsql.patch (text/plain), 1.88 KB, created by
Jonathan Druart
on 2016-10-17 16:42:05 UTC
(
hide
)
Description:
Bug 5670: Add auth_val_cat to auth_val_cat.sql.
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-10-17 16:42:05 UTC
Size:
1.88 KB
patch
obsolete
>From 081f561370cfff082d0c09f268b2df5f4b02386e Mon Sep 17 00:00:00 2001 >From: Alex Sassmannshausen <alex.sassmannshausen@ptfs-europe.com> >Date: Thu, 13 Oct 2016 11:57:06 +0200 >Subject: [PATCH] Bug 5670: Add auth_val_cat to auth_val_cat.sql. > >* installer/data/mysql/atomicupdate/housebound_tables.sql: Insert > HSBND_FREQ in authorised value categories. >* installer/data/mysql/mandatory/auth_val_cat.sql: Add HSBND_FREQ. > >Signed-off-by: Claire Gravely <claire_gravely@hotmail.com> >--- > installer/data/mysql/atomicupdate/housebound_tables.sql | 7 +++++++ > installer/data/mysql/mandatory/auth_val_cat.sql | 5 +++++ > 2 files changed, 12 insertions(+) > >diff --git a/installer/data/mysql/atomicupdate/housebound_tables.sql b/installer/data/mysql/atomicupdate/housebound_tables.sql >index 49c3237..e9e4151 100644 >--- a/installer/data/mysql/atomicupdate/housebound_tables.sql >+++ b/installer/data/mysql/atomicupdate/housebound_tables.sql >@@ -52,5 +52,12 @@ INSERT IGNORE INTO systempreferences > ('HouseboundModule',0,'', > 'If ON, enable housebound module functionality.','YesNo'); > >+-- Install in new authorised value category table >+ >+INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES >+ ('HSBND_FREQ'); >+ >+-- Then add mandatory authorised values >+ > INSERT IGNORE INTO authorised_values (category, authorised_value, lib) VALUES > ('HSBND_FREQ','EW','Every week'); >diff --git a/installer/data/mysql/mandatory/auth_val_cat.sql b/installer/data/mysql/mandatory/auth_val_cat.sql >index 5584a3d..09ce8c0 100644 >--- a/installer/data/mysql/mandatory/auth_val_cat.sql >+++ b/installer/data/mysql/mandatory/auth_val_cat.sql >@@ -49,3 +49,8 @@ INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES > ('CAND'), > ('COUNTRY'), > ('qualif'); >+ >+-- For Housebound >+ >+INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES >+ ('HSBND_FREQ'); >-- >2.8.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5670
:
3038
|
22162
|
22163
|
22164
|
22165
|
26816
|
27288
|
50930
|
51377
|
51875
|
54384
|
54385
|
55326
|
55334
|
55335
|
55336
|
55734
|
55735
|
55736
|
55737
|
55738
|
55739
|
55865
|
55866
|
55867
|
55890
|
55891
|
56298
|
56299
|
56300
|
56301
|
56302
|
56308
|
56337
|
56341
|
56346
|
56347
|
56348
|
56349
|
56350
|
56351
|
56352
|
56353
|
56354
|
56355
|
56356
|
56357
|
56358
|
56359
|
56360
|
56361
|
56362
|
56363
|
56364
|
56365
|
56366
|
56367
|
56368
|
56369
|
56580
|
56581
|
56582
|
56583
|
56584
|
56585
|
56586
|
56587
|
56588
|
56589
|
56590
|
56591
|
56592
|
56593
|
56594
|
56595
|
56596
|
56597
|
56598
|
56599
| 56600 |
56601
|
56602
|
56603
|
56604
|
56605
|
56606