[Koha-bugs] [Bug 29084] Update article requests-related Koha::Biblio methods to use relationships
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 27 10:07:38 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29084
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|BLOCKED |Failed QA
--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
I followed the chain up till here and somewhere it goes wrong. But since I
discover it here, I will blame this report :)
I have a patron with 10 article requests.
OPAC shows 10 using [% current_article_requests_count %] Fine!
Intranet patron details shows None!
What does it use?
koha-tmpl/intranet-tmpl/prog/en/includes/patron-article-requests.inc
[% IF patron.article_requests_current.count %]
There is our famous bottleneck from bug 28883. TT runs the
article_requests_current call in LIST context although you think that you are
chaining.
So the above count does NOT work !
If I do [% SET x = patron.article_requests_current %] [% x.size %]
then I see that x contains 10 entries.
The problem is somewhere earlier. But I wouldnt mind correcting it here, and
not disturb all previous QAs.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list