Bug 26170: DBIC booleans

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2023-11-01 15:53:51 -03:00
parent f739e646ac
commit cf57e2f918
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 10 additions and 8 deletions

View File

@ -2161,11 +2161,12 @@ __PACKAGE__->has_many(
);
__PACKAGE__->add_columns(
'+anonymized' => { is_boolean => 1 },
'+lost' => { is_boolean => 1 },
'+gonenoaddress' => { is_boolean => 1 },
'+anonymized' => { is_boolean => 1 },
'+autorenew_checkouts' => { is_boolean => 1 },
'+gonenoaddress' => { is_boolean => 1 },
'+lost' => { is_boolean => 1 },
'+privacy_guarantor_fines' => { is_boolean => 1 },
'+autorenew_checkouts' => { is_boolean => 1 }
'+protected' => { is_boolean => 1 },
);
sub koha_objects_class {

View File

@ -852,11 +852,12 @@ __PACKAGE__->add_columns(
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WdNGUFdglTb3Heu+VjLWFw
__PACKAGE__->add_columns(
'+anonymized' => { is_boolean => 1 },
'+lost' => { is_boolean => 1 },
'+gonenoaddress' => { is_boolean => 1 },
'+anonymized' => { is_boolean => 1 },
'+autorenew_checkouts' => { is_boolean => 1 },
'+gonenoaddress' => { is_boolean => 1 },
'+lost' => { is_boolean => 1 },
'+privacy_guarantor_fines' => { is_boolean => 1 },
'+autorenew_checkouts' => { is_boolean => 1 }
'+protected' => { is_boolean => 1 },
);
sub koha_objects_class {