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

(-)a/Koha/Schema/Result/SearchMarcToField.pm (-6 / +6 lines)
Lines 60-68 true if this field can be used to generate suggestions for browse Link Here
60
=head2 sort
60
=head2 sort
61
61
62
  data_type: 'tinyint'
62
  data_type: 'tinyint'
63
  is_nullable: 1
63
  default_value: 1
64
  is_nullable: 0
64
65
65
true/false creates special sort handling, null doesn't
66
Sort defaults to 1 (Yes) and creates sort fields in the index, 0 (no) will prevent this
66
67
67
=cut
68
=cut
68
69
Lines 78-84 __PACKAGE__->add_columns( Link Here
78
  "suggestible",
79
  "suggestible",
79
  { data_type => "tinyint", default_value => 0, is_nullable => 1 },
80
  { data_type => "tinyint", default_value => 0, is_nullable => 1 },
80
  "sort",
81
  "sort",
81
  { data_type => "tinyint", is_nullable => 1 },
82
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
82
);
83
);
83
84
84
=head1 PRIMARY KEY
85
=head1 PRIMARY KEY
Lines 128-135 __PACKAGE__->belongs_to( Link Here
128
);
129
);
129
130
130
131
131
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-02 12:47:22
132
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-21 12:39:23
132
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9mqZ/zrii+Fv+k+eQNHYUw
133
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:F/uoQ4AbA16vTZJAGm3WuQ
133
134
134
__PACKAGE__->add_columns(
135
__PACKAGE__->add_columns(
135
    '+facet' => { is_boolean => 1 },
136
    '+facet' => { is_boolean => 1 },
136
- 

Return to bug 30572