Koha/koha-tmpl/opac-tmpl
Jonathan Druart c596f450d9 Bug 24398: Fix 500 when viewing a single news item at the OPAC
Test plan:
0. Set the NewsAuthorDisplay preference to 'OPAC' or 'Both OPAC and staff client.'
1. Open the OPAC main page and click on an individual news item
Without this patch you get an ugly 500
    Template process failed: undef error - The method Koha::NewsItem->author_title is not covered by tests!
With this patch applied you see the news with the author's info

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-12-26 17:58:38 +01:00
..
bootstrap Bug 24398: Fix 500 when viewing a single news item at the OPAC 2020-12-26 17:58:38 +01:00
lib Bug 25350: Load Emoji picker assets more efficiently 2020-05-04 09:44:45 +01:00
xslt Bug 26665: (bug 20168 follow-up) Fix path to bootstrap js file 2020-12-04 15:26:54 +01:00