[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:29:46 CEST 2023


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #157741|0                           |1
        is obsolete|                            |

--- Comment #131 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 157742
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157742&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 );

WNC amended patch - tidied

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

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


More information about the Koha-bugs mailing list