]> git.koha-community.org Git - koha.git/commit
Bug 31685: Replace current_article_requests_count in opac-user
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 5 Oct 2022 13:45:09 +0000 (13:45 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 14 Dec 2022 12:56:00 +0000 (13:56 +0100)
commit6e33dc2582053e47b4ca181522bbc50f6a4c6c31
tree4274dced5857c2c2df0865709e5dfdd052eab660
parent9b2f271f189efe01906ee6b644c22ee72225d4ab
Bug 31685: Replace current_article_requests_count in opac-user

Fixing the "( total)" in the caption of the table.

The tt var should be replaced now by current_article_requests.size.
Note that current_article_requests is an array now (from as_list).
We cannot use .count since it is no Koha object.

Test plan:
Submit a few article requests.
Check OPAC account page, and verify that both totals are fine now.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5db216385708d9420a8f8d32bfc35c81cf194d75)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 9b7b41be1f18ee931370dc1e41da9d268fa1d4b9)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt