Bugzilla – Attachment 116502 Details for
Bug 27598
Add UPLOAD as a built-in system authorized value category
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27598: (QA follow-up) Add category description and installer data
Bug-27598-QA-follow-up-Add-category-description-an.patch (text/plain), 2.22 KB, created by
Owen Leonard
on 2021-02-08 14:16:15 UTC
(
hide
)
Description:
Bug 27598: (QA follow-up) Add category description and installer data
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-02-08 14:16:15 UTC
Size:
2.22 KB
patch
obsolete
>From 00b5a78e6fdfa42cde4a1efb362e3b4cd1a46a42 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 8 Feb 2021 14:10:19 +0000 >Subject: [PATCH] Bug 27598: (QA follow-up) Add category description and > installer data > >This follow-up makes two additions: > >- The UPLOAD category is added to auth_val_cat.sql for new > installations. >- A description of the category is added to the authorized values > template. >--- > installer/data/mysql/mandatory/auth_val_cat.sql | 4 ++++ > koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt | 2 ++ > 2 files changed, 6 insertions(+) > >diff --git a/installer/data/mysql/mandatory/auth_val_cat.sql b/installer/data/mysql/mandatory/auth_val_cat.sql >index bd8f81d761..e3bbef04df 100644 >--- a/installer/data/mysql/mandatory/auth_val_cat.sql >+++ b/installer/data/mysql/mandatory/auth_val_cat.sql >@@ -66,3 +66,7 @@ INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES > -- For Claims returned > INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES > ('RETURN_CLAIM_RESOLUTION'); >+ >+-- For file uploads >+INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) VALUES >+ ('UPLOAD', 1); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >index c87bbf7aba..3edb239e9c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >@@ -428,6 +428,8 @@ > <p>A list of additional custom status values for suggestions that can be used in addition to the default values.</p> > [% CASE 'TERM' %] > <p>Terms to be used in Course Reserves module. Enter terms that will show in the drop down menu when setting up a Course reserve. (For example: Spring, Summer, Winter, Fall).</p> >+ [% CASE 'UPLOAD' %] >+ <p>Categories to be assigned to file uploads. Without a category an upload is considered temporary and may be removed during automated cleanup.</p> > [% CASE 'WITHDRAWN' %] > <p>Description of a withdrawn item (appears when adding or editing an item)</p> > [% CASE 'YES_NO' %] >-- >2.11.0
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 27598
:
116221
|
116428
|
116447
|
116502
|
116860
|
116861