From a870d624a3254ed0e9ed3a40f0b26d4c92341876 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 1 Sep 2023 12:39:37 +0000 Subject: [PATCH] Bug 27153: DO NOT PUSH: Schema updates --- Koha/Schema/Result/SearchMarcToField.pm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/SearchMarcToField.pm b/Koha/Schema/Result/SearchMarcToField.pm index 64e9db770b..f480602743 100644 --- a/Koha/Schema/Result/SearchMarcToField.pm +++ b/Koha/Schema/Result/SearchMarcToField.pm @@ -29,6 +29,15 @@ __PACKAGE__->table("search_marc_to_field"); default_value: 1 is_nullable: 0 +=head2 filter + + data_type: 'varchar' + default_value: (empty string) + is_nullable: 0 + size: 100 + +specify a filter to be applied to field + =head2 search_marc_map_id data_type: 'integer' @@ -70,6 +79,8 @@ Sort defaults to 1 (Yes) and creates sort fields in the index, 0 (no) will preve __PACKAGE__->add_columns( "search", { data_type => "tinyint", default_value => 1, is_nullable => 0 }, + "filter", + { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 }, "search_marc_map_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, "search_field_id", @@ -129,8 +140,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-21 12:39:23 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:F/uoQ4AbA16vTZJAGm3WuQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-09-01 12:27:10 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L8zfeNnx7Js5MfMHX7UdyQ __PACKAGE__->add_columns( '+facet' => { is_boolean => 1 }, -- 2.30.2