return $result;
}
=head2 Public API methods
=head3 public_read_list
Returns the list of fields that are allowed to be read by the public API.
Excludes staff_note which is for internal use only.
=cut
sub public_read_list {
return [
qw(
display_id
display_name
start_date
end_date
enabled
display_location
display_code
display_branch
display_holding_branch
display_itype
public_note
display_days
display_return_over
)
];
=head2 Internal methods
=head3 _type
use Mojo::Base 'Mojolicious::Controller';
use C4::Context;
use Koha::Display;
use Koha::Displays;
use Koha::DateUtils qw( dt_from_string );
-