[Koha-bugs] [Bug 31275] AdditionalContents.search_for_display returns branch block and All block

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 2 13:12:00 CEST 2022


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

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #1)
> That could be a feature... :)
> 
> However I've created a OpacNavRight for all and CPL, and only the one from
> all is displayed. And this is definitely a bug.
> 
> Which block did you try?

I encountered this behavior while testing bug 29144 which creates a
OpacBranchInfo block to replace branches.opac_info.
I somehow assumed the All branches to be a fallback for not having a branch
specific one..
When i let the kohanews process directive display the return of
AdditionalContents.get in the template, it shows both.
Note that other templates perhaps show one result, but since the sort order is
number, it will be a bit random which one appears?

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


More information about the Koha-bugs mailing list