Bugzilla – Attachment 165565 Details for
Bug 32435
Add resolution types to catalog concerns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32435: Add TICKET_RESOLUTION authorized value
Bug-32435-Add-TICKETRESOLUTION-authorized-value.patch (text/plain), 2.90 KB, created by
Martin Renvoize (ashimema)
on 2024-04-25 16:03:28 UTC
(
hide
)
Description:
Bug 32435: Add TICKET_RESOLUTION authorized value
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-04-25 16:03:28 UTC
Size:
2.90 KB
patch
obsolete
>From 86e5d44f34f02ecc9d1ec05650c40d1fdcf4c956 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 21 Dec 2023 15:57:41 +0000 >Subject: [PATCH] Bug 32435: Add TICKET_RESOLUTION authorized value > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Ray Delahunty <lib-systems@arts.ac.uk> >--- > installer/data/mysql/atomicupdate/bug_32435.pl | 16 ++++++++++++++++ > installer/data/mysql/mandatory/auth_val_cat.sql | 3 ++- > .../prog/en/modules/admin/authorised_values.tt | 2 ++ > 3 files changed, 20 insertions(+), 1 deletion(-) > create mode 100755 installer/data/mysql/atomicupdate/bug_32435.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_32435.pl b/installer/data/mysql/atomicupdate/bug_32435.pl >new file mode 100755 >index 00000000000..5df61116f08 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_32435.pl >@@ -0,0 +1,16 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "32435", >+ description => "Add ticket resolutions to catalog concerns", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ $dbh->do( >+ q{ >+ INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) VALUES ('TICKET_RESOLUTION', 1); >+ } >+ ); >+ say $out "Added TICKET_RESOLUTION authorised value category"; >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/auth_val_cat.sql b/installer/data/mysql/mandatory/auth_val_cat.sql >index a867be43da7..be8ef55bff5 100644 >--- a/installer/data/mysql/mandatory/auth_val_cat.sql >+++ b/installer/data/mysql/mandatory/auth_val_cat.sql >@@ -99,4 +99,5 @@ VALUES > -- For ticket statuses > INSERT IGNORE INTO authorised_value_categories (category_name, is_system) > VALUES >- ('TICKET_STATUS', 1); >+ ('TICKET_STATUS', 1), >+ ('TICKET_RESOLUTION', 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 c93408efd17..74543db7f7e 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 >@@ -517,6 +517,8 @@ > <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 'TICKET_STATUS' %] > <p>A list of custom status values for tickets that can be used in addition to the default values of "New" and "Resolved".</p> >+ [% CASE 'TICKET_RESOLUTION' %] >+ <p>A list of custom resolution values for tickets that can be used in addition to the standard "Resolved".</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 'VENDOR_TYPE' %] >-- >2.44.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 32435
:
160211
|
160212
|
160213
|
160214
|
160260
|
160261
|
160291
|
160292
|
160306
|
160321
|
160322
|
162493
|
164919
|
164920
|
164921
|
164922
|
165558
|
165559
|
165565
|
165566
|
165567
|
165611
|
165612
|
165613
|
165656
|
165657
|
165658
|
165781
|
165782
|
165783