@@ -, +, @@ --- Koha/Schema/Result/SearchField.pm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) --- a/Koha/Schema/Result/SearchField.pm +++ a/Koha/Schema/Result/SearchField.pm @@ -53,6 +53,12 @@ the human readable name of the field, for display what type of data this holds, relevant when storing it in the search engine +=head2 weight + + data_type: 'decimal' + is_nullable: 1 + size: [5,2] + =cut __PACKAGE__->add_columns( @@ -70,6 +76,8 @@ __PACKAGE__->add_columns( }, is_nullable => 0, }, + "weight", + { data_type => "decimal", is_nullable => 1, size => [5, 2] }, ); =head1 PRIMARY KEY @@ -116,9 +124,9 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-06-27 04:12:00 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:axyQNupqtw+5gMh1rsIHAg +# Created by DBIx::Class::Schema::Loader v0.07048 @ 2018-10-23 14:57:11 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pmTa/VWSm2pudjI3SgBWuQ -__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); +# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; --