]> git.koha-community.org Git - koha.git/commit
Bug 35789: Remove Koha::Template::Plugin::Biblio::ArticleRequestsActiveCount
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 12 Jan 2024 13:34:18 +0000 (14:34 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Mar 2024 11:26:44 +0000 (12:26 +0100)
commitea80d2f140fd79d56c1b439c3bce1671ea76d63e
tree063e92b818f388f73a53791dd129993bce0938d1
parentf108f73445f28b850f8732b79a8d0985be5a4041
Bug 35789: Remove Koha::Template::Plugin::Biblio::ArticleRequestsActiveCount

Can be replaced with biblio.article_requests.filter_by_current.count

Test plan:
Turn on article requests (syspref + circ rule)
Request an article (detail page of a bib record)
On the left you see "Article requests" tab with the number of current
article requests.

It should show the correct number (same as before this patch).

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Template/Plugin/Biblio.pm
koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt