Bugzilla – Attachment 98450 Details for
Bug 24156
Basket - Make sort order and number of items to display configurable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24156: DBIC changes
Bug-24156-DBIC-changes.patch (text/plain), 3.00 KB, created by
Jonathan Druart
on 2020-02-05 12:01:55 UTC
(
hide
)
Description:
Bug 24156: DBIC changes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-02-05 12:01:55 UTC
Size:
3.00 KB
patch
obsolete
>From fe109ee1a037bf6255530b65c0c7ce2a47efcf23 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 5 Dec 2019 17:13:50 +0100 >Subject: [PATCH] Bug 24156: DBIC changes > >--- > Koha/Schema/Result/ColumnsSetting.pm | 4 +- > Koha/Schema/Result/TablesSetting.pm | 93 ++++++++++++++++++++++++++++++++++++ > 2 files changed, 95 insertions(+), 2 deletions(-) > create mode 100644 Koha/Schema/Result/TablesSetting.pm > >diff --git a/Koha/Schema/Result/ColumnsSetting.pm b/Koha/Schema/Result/ColumnsSetting.pm >index 05d65fa1de..0bd430766d 100644 >--- a/Koha/Schema/Result/ColumnsSetting.pm >+++ b/Koha/Schema/Result/ColumnsSetting.pm >@@ -95,8 +95,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("module", "page", "tablename", "columnname"); > > >-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-07 12:11:07 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:s4Zkf15c4v0RJyb1S5UTPA >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-12 16:06:36 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IhREpW2PRxxFF9EYOGt2Qg > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/TablesSetting.pm b/Koha/Schema/Result/TablesSetting.pm >new file mode 100644 >index 0000000000..a227a29490 >--- /dev/null >+++ b/Koha/Schema/Result/TablesSetting.pm >@@ -0,0 +1,93 @@ >+use utf8; >+package Koha::Schema::Result::TablesSetting; >+ >+# Created by DBIx::Class::Schema::Loader >+# DO NOT MODIFY THE FIRST PART OF THIS FILE >+ >+=head1 NAME >+ >+Koha::Schema::Result::TablesSetting >+ >+=cut >+ >+use strict; >+use warnings; >+ >+use base 'DBIx::Class::Core'; >+ >+=head1 TABLE: C<tables_settings> >+ >+=cut >+ >+__PACKAGE__->table("tables_settings"); >+ >+=head1 ACCESSORS >+ >+=head2 module >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 255 >+ >+=head2 page >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 255 >+ >+=head2 tablename >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 255 >+ >+=head2 default_display_length >+ >+ data_type: 'smallint' >+ default_value: 20 >+ is_nullable: 0 >+ >+=head2 default_sort_order >+ >+ data_type: 'varchar' >+ is_nullable: 1 >+ size: 255 >+ >+=cut >+ >+__PACKAGE__->add_columns( >+ "module", >+ { data_type => "varchar", is_nullable => 0, size => 255 }, >+ "page", >+ { data_type => "varchar", is_nullable => 0, size => 255 }, >+ "tablename", >+ { data_type => "varchar", is_nullable => 0, size => 255 }, >+ "default_display_length", >+ { data_type => "smallint", default_value => 20, is_nullable => 0 }, >+ "default_sort_order", >+ { data_type => "varchar", is_nullable => 1, size => 255 }, >+); >+ >+=head1 PRIMARY KEY >+ >+=over 4 >+ >+=item * L</module> >+ >+=item * L</page> >+ >+=item * L</tablename> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->set_primary_key("module", "page", "tablename"); >+ >+ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-10 17:22:41 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A2GDoSG702QYDH8nYPEJ2Q >+ >+ >+# You can replace this text with custom code or comments, and it will be preserved on regeneration >+1; >-- >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 24156
:
96223
|
96224
|
96225
|
96226
|
96227
|
96228
|
96229
|
96230
|
98449
|
98450
|
98451
|
98452
|
98453
|
98454
|
98455
|
98456
|
98843
|
98844
|
98845
|
98846
|
98847
|
98848
|
99007
|
99008
|
99009
|
99010
|
99011
|
99012
|
99013
|
99014
|
105823
|
105824
|
105825
|
105826
|
105827
|
105828
|
105829
|
106183
|
106184
|
106185
|
106186
|
106187
|
106188
|
106189
|
106190
|
106191
|
106219
|
106220
|
106221
|
106222
|
106223
|
106224
|
106225
|
106226
|
106227
|
106228
|
106245