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

(-)a/Koha/Schema/Result/SearchField.pm (-5 / +14 lines)
Lines 48-54 the human readable name of the field, for display Link Here
48
=head2 type
48
=head2 type
49
49
50
  data_type: 'enum'
50
  data_type: 'enum'
51
  extra: {list => ["","string","date","number","boolean","sum","isbn","stdno"]}
51
  extra: {list => ["","string","date","number","boolean","sum","isbn","stdno","year"]}
52
  is_nullable: 0
52
  is_nullable: 0
53
53
54
what type of data this holds, relevant when storing it in the search engine
54
what type of data this holds, relevant when storing it in the search engine
Lines 98-104 __PACKAGE__->add_columns( Link Here
98
  {
98
  {
99
    data_type => "enum",
99
    data_type => "enum",
100
    extra => {
100
    extra => {
101
      list => ["", "string", "date", "number", "boolean", "sum", "isbn", "stdno"],
101
      list => [
102
        "",
103
        "string",
104
        "date",
105
        "number",
106
        "boolean",
107
        "sum",
108
        "isbn",
109
        "stdno",
110
        "year",
111
      ],
102
    },
112
    },
103
    is_nullable => 0,
113
    is_nullable => 0,
104
  },
114
  },
Lines 158-165 __PACKAGE__->has_many( Link Here
158
);
168
);
159
169
160
170
161
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-10-16 14:32:53
171
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-08 09:37:38
162
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HBEJWxqos7/LzD/QzTi45Q
172
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iWmUtCXEzX6vilFP9jdojA
163
173
164
__PACKAGE__->add_columns(
174
__PACKAGE__->add_columns(
165
    '+mandatory' => { is_boolean => 1 },
175
    '+mandatory' => { is_boolean => 1 },
166
- 

Return to bug 30498