Bug 34104 - Recalls awaiting pickup missing number of recalls in tab labels
Summary: Recalls awaiting pickup missing number of recalls in tab labels
Status: RESOLVED DUPLICATE of bug 34013
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-22 21:03 UTC by Katrin Fischer
Modified: 2023-06-22 21:04 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2023-06-22 21:03:23 UTC
In the holds awaiting pickup we can see how it should look like, but it doesn't work for the recalls awaiting pickup: the number of recalls that will show on each tab at the end of the tab label.

We can see that the variables are there in the template, but it doesn't work:

+                    [% WRAPPER tabs id= "results" %]
+                        [% WRAPPER tabs_nav %]
+                            [% WRAPPER tab_item tabname= "recallswaiting" bt_active= 1 %] <span>Recalls waiting: [% recalls.count | html %]</span> [% END %]
+                            [% WRAPPER tab_item tabname= "recallsover" %] <span>Recalls waiting over [% Koha.Preference('RecallsMaxPickUpDelay') | html %] days: [% over.count | html %]</span> [% END %]
+                        [% END # /WRAPPER tabs_nav %]
Comment 1 Katrin Fischer 2023-06-22 21:04:08 UTC

*** This bug has been marked as a duplicate of bug 34013 ***