[Koha-bugs] [Bug 24830] dbic_merge_prefetch is not handling recursive cases correctly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 12 22:49:11 CET 2020


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

--- Comment #6 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 100665
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100665&action=edit
Bug 24830: Fix parse_prefetch recursion and +count cases

When a child of a prefetched element wasn't found on element's
prefetch_whitelist, no prefetch element was returned.. including element
it self. Now we return element's name if no child was found.

Also, embeded keys that ended with +count where taken literaly. Now we
search the correct key by stripping _count of embedded element if it was
declared as "is_count"

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


More information about the Koha-bugs mailing list