diff --git a/Koha/Ticket.pm b/Koha/Ticket.pm index 83b84bc97e..6a5f2c5641 100644 --- a/Koha/Ticket.pm +++ b/Koha/Ticket.pm @@ -168,6 +168,20 @@ sub store { =cut +=head3 public_read_list + +This method returns the list of publicly readable database fields for both API and UI output purposes + +=cut + +sub public_read_list { + return [ + 'ticket_id', 'title', 'body', + 'reporter_id', 'reported_date', 'resolved_date', + 'biblio_id' + ]; +} + =head3 to_api_mapping This method returns the mapping for representing a Koha::Ticket object