Summary: | Article request count in table caption of opac-user missing | ||
---|---|---|---|
Product: | Koha | Reporter: | Marcel de Rooy <m.de.rooy> |
Component: | OPAC | Assignee: | Marcel de Rooy <m.de.rooy> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | CC: | arthur.suzuki, lucas, m.de.rooy, wainuiwitikapark |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
22.11.00, 22.05.08, 21.11.15
|
|
Circulation function: | |||
Attachments: | Bug 31685: Replace current_article_requests_count in opac-user |
Description
Marcel de Rooy
2022-10-05 13:44:49 UTC
Created attachment 141381 [details] [review] 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> One liner for Tomas. Pushed to master for 22.11. Nice work everyone, thanks! Backported to 22.05.x for upcoming 22.05.08 applied to 21.11 for 21.11.15 Backported to 21.05.x for 21.05.22 Not released in 21.05.22 (In reply to wainuiwitikapark from comment #7) > Not released in 21.05.22 Reverted from 21.05 branch |