Bugzilla – Attachment 133554 Details for
Bug 30572
Field search_marc_to_field.sort needs syncing too
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30572: DBIx schema change for SearchMarcToField
Bug-30572-DBIx-schema-change-for-SearchMarcToField.patch (text/plain), 1.67 KB, created by
Marcel de Rooy
on 2022-04-21 12:52:09 UTC
(
hide
)
Description:
Bug 30572: DBIx schema change for SearchMarcToField
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-04-21 12:52:09 UTC
Size:
1.67 KB
patch
obsolete
>From eaa92c69b4d0ebd475c31285dfe292c0bcab70cf Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 21 Apr 2022 12:41:08 +0000 >Subject: [PATCH] Bug 30572: DBIx schema change for SearchMarcToField >Content-Type: text/plain; charset=utf-8 > >No test plan. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/Schema/Result/SearchMarcToField.pm | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > >diff --git a/Koha/Schema/Result/SearchMarcToField.pm b/Koha/Schema/Result/SearchMarcToField.pm >index 527110140d..64e9db770b 100644 >--- a/Koha/Schema/Result/SearchMarcToField.pm >+++ b/Koha/Schema/Result/SearchMarcToField.pm >@@ -60,9 +60,10 @@ true if this field can be used to generate suggestions for browse > =head2 sort > > data_type: 'tinyint' >- is_nullable: 1 >+ default_value: 1 >+ is_nullable: 0 > >-true/false creates special sort handling, null doesn't >+Sort defaults to 1 (Yes) and creates sort fields in the index, 0 (no) will prevent this > > =cut > >@@ -78,7 +79,7 @@ __PACKAGE__->add_columns( > "suggestible", > { data_type => "tinyint", default_value => 0, is_nullable => 1 }, > "sort", >- { data_type => "tinyint", is_nullable => 1 }, >+ { data_type => "tinyint", default_value => 1, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -128,8 +129,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-02 12:47:22 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9mqZ/zrii+Fv+k+eQNHYUw >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-21 12:39:23 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:F/uoQ4AbA16vTZJAGm3WuQ > > __PACKAGE__->add_columns( > '+facet' => { is_boolean => 1 }, >-- >2.20.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 30572
:
133552
|
133553
|
133554
|
133892
|
133893
|
133894
|
134655