[Koha-bugs] [Bug 31383] Additional contents: We need a parent and child table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 24 15:14:08 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31383

--- Comment #129 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 157741
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157741&action=edit
Bug 31383: (follow-up) Remove get_opac_news_by_id

Keep the same behaviour, but wondering why we don't return 'content'
when there is no match.

ie.
+    is( $additional_contents, undef );
should certainly be
+    is( $additional_contents->{content}->count, 0 );

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list