Lines 78-83
the order place of the field in facet list if faceted
Link Here
|
78 |
default_value: 1 |
78 |
default_value: 1 |
79 |
is_nullable: 0 |
79 |
is_nullable: 0 |
80 |
|
80 |
|
|
|
81 |
=head2 mandatory |
82 |
|
83 |
data_type: 'tinyint' |
84 |
is_nullable: 1 |
85 |
|
86 |
if marked this field is not editable or removable |
87 |
|
81 |
=cut |
88 |
=cut |
82 |
|
89 |
|
83 |
__PACKAGE__->add_columns( |
90 |
__PACKAGE__->add_columns( |
Lines 103-108
__PACKAGE__->add_columns(
Link Here
|
103 |
{ data_type => "tinyint", default_value => 1, is_nullable => 0 }, |
110 |
{ data_type => "tinyint", default_value => 1, is_nullable => 0 }, |
104 |
"opac", |
111 |
"opac", |
105 |
{ data_type => "tinyint", default_value => 1, is_nullable => 0 }, |
112 |
{ data_type => "tinyint", default_value => 1, is_nullable => 0 }, |
|
|
113 |
"mandatory", |
114 |
{ data_type => "tinyint", is_nullable => 1 }, |
106 |
); |
115 |
); |
107 |
|
116 |
|
108 |
=head1 PRIMARY KEY |
117 |
=head1 PRIMARY KEY |
Lines 149-156
__PACKAGE__->has_many(
Link Here
|
149 |
); |
158 |
); |
150 |
|
159 |
|
151 |
|
160 |
|
152 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-02 12:47:22 |
161 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-10-16 14:32:53 |
153 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EbUa4eprgxeUkoOUiXO/Cg |
162 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HBEJWxqos7/LzD/QzTi45Q |
154 |
|
163 |
|
155 |
__PACKAGE__->add_columns( |
164 |
__PACKAGE__->add_columns( |
156 |
'+mandatory' => { is_boolean => 1 }, |
165 |
'+mandatory' => { is_boolean => 1 }, |
157 |
- |
|
|