Bugzilla – Attachment 160128 Details for
Bug 35616
Add a 'source' field to Koha::Tickets to denote the path taken to report the ticket
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35616: DBIC Schema
Bug-35616-DBIC-Schema.patch (text/plain), 1.52 KB, created by
Martin Renvoize (ashimema)
on 2023-12-20 16:24:26 UTC
(
hide
)
Description:
Bug 35616: DBIC Schema
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-12-20 16:24:26 UTC
Size:
1.52 KB
patch
obsolete
>From a1b9055a40f03f3eae746ab98cb65b320f484d04 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 20 Dec 2023 14:44:35 +0000 >Subject: [PATCH] Bug 35616: DBIC Schema > >--- > Koha/Schema/Result/Ticket.pm | 20 ++++++++++++++++++-- > 1 file changed, 18 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Ticket.pm b/Koha/Schema/Result/Ticket.pm >index d45e542d441..bf8ca34317c 100644 >--- a/Koha/Schema/Result/Ticket.pm >+++ b/Koha/Schema/Result/Ticket.pm >@@ -31,6 +31,15 @@ __PACKAGE__->table("tickets"); > > primary key > >+=head2 source >+ >+ data_type: 'enum' >+ default_value: 'catalog' >+ extra: {list => ["catalog"]} >+ is_nullable: 0 >+ >+source of ticket >+ > =head2 reporter_id > > data_type: 'integer' >@@ -92,6 +101,13 @@ id of biblio linked > __PACKAGE__->add_columns( > "id", > { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, >+ "source", >+ { >+ data_type => "enum", >+ default_value => "catalog", >+ extra => { list => ["catalog"] }, >+ is_nullable => 0, >+ }, > "reporter_id", > { > data_type => "integer", >@@ -207,8 +223,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-24 21:15:34 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0Nm+y1BHJicrpeq3kuU1VA >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-12-20 14:44:11 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GDz6OIQippcVcKESfzNbDg > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.43.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 35616
:
160118
|
160119
|
160120
|
160121
|
160127
|
160128
|
160129
|
160130
|
160143
|
160144
|
160145
|
160146
|
160164
|
160165
|
160166
|
160167
|
163482
|
163483
|
163484
|
163485
|
163486