Bug 34517: (QA follow-up) Standardize boolean attributes definition

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2023-11-09 10:09:20 -03:00
parent 83612d5ecb
commit beecec2b59
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 3 additions and 12 deletions

View File

@ -255,18 +255,9 @@ __PACKAGE__->has_many(
__PACKAGE__->add_columns(
'+keep_for_pseudonymization' => { is_boolean => 1 },
);
__PACKAGE__->add_columns(
'+mandatory' => { is_boolean => 1 },
);
__PACKAGE__->add_columns(
'+staff_searchable' => { is_boolean => 1 },
);
__PACKAGE__->add_columns(
'+searched_by_default' => { is_boolean => 1 },
'+mandatory' => { is_boolean => 1 },
'+searched_by_default' => { is_boolean => 1 },
'+staff_searchable' => { is_boolean => 1 },
);
sub koha_object_class {