View | Details | Raw Unified | Return to bug 18235
Collapse All | Expand All

(-)a/Koha/Schema/Result/SearchField.pm (-2 / +10 lines)
Lines 59-64 what type of data this holds, relevant when storing it in the search engine Link Here
59
  is_nullable: 1
59
  is_nullable: 1
60
  size: [5,2]
60
  size: [5,2]
61
61
62
=head2 facet_order
63
64
  data_type: 'tinyint'
65
  default_value: 0
66
  is_nullable: 1
67
62
=cut
68
=cut
63
69
64
__PACKAGE__->add_columns(
70
__PACKAGE__->add_columns(
Lines 78-83 __PACKAGE__->add_columns( Link Here
78
  },
84
  },
79
  "weight",
85
  "weight",
80
  { data_type => "decimal", is_nullable => 1, size => [5, 2] },
86
  { data_type => "decimal", is_nullable => 1, size => [5, 2] },
87
  "facet_order",
88
  { data_type => "tinyint", default_value => 0, is_nullable => 1 },
81
);
89
);
82
90
83
=head1 PRIMARY KEY
91
=head1 PRIMARY KEY
Lines 124-131 __PACKAGE__->has_many( Link Here
124
);
132
);
125
133
126
134
127
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-11-07 22:22:22
135
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-02-16 16:47:02
128
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4Q+IXwF0hViF8+kpR96eLA
136
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VuAoOvILkO9xf7U4NVgZQA
129
137
130
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map");
138
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map");
131
139
(-)a/t/db_dependent/Koha_Elasticsearch.t (-1 / +1 lines)
Lines 22-27 use t::lib::Mocks; Link Here
22
use t::lib::TestBuilder;
22
use t::lib::TestBuilder;
23
use MARC::Record;
23
use MARC::Record;
24
24
25
use Koha::SearchEngine::Elasticsearch;
25
use Koha::SearchFields;
26
use Koha::SearchFields;
26
27
27
my $schema = Koha::Database->schema;
28
my $schema = Koha::Database->schema;
28
- 

Return to bug 18235