https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31383 --- Comment #125 from Tomás Cohen Arazi <tomascohen@gmail.com> --- This should not work either I guess? sub get_opac_news_by_id { my ( $self, $params ) = @_; my $news_id = $params->{news_id}; my $content = Koha::AdditionalContents->search( { location => ['opac_only', 'staff_and_opac'], idnew => $news_id, category => 'news', } ); because of `idnew`. Used in the OPAC's main page: $ git grep get_opac_news_by_id opac-tmpl/bootstrap/en/modules/opac-main.tt: [% SET koha_news = AdditionalContents.get_opac_news_by_id( news_id => news_id ) %] -- You are receiving this mail because: You are watching all bug changes.