Bug 31518: Fix syntax error on request.tt that prevents showing hidden item count

The variable set by request.pl doesn't have biblio prefix, it is just
hiddencount.

To test:
 1) Log in with a staff member account that has "Lost items in staff
 interface" setting set to "Hidden by default" in the patron category
 settings
 2) Add a lost item to biblio
 3) Go place a hold on staff interface (request.pl) notice the broken
 link on the request page: "Show all items ( hidden)"
 4) After applying the patch it should read "Show all items (1 hidden)"

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a45b105c24)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 11e4196da6)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
Joonas Kylmälä 2022-09-04 10:22:22 +03:00 committed by Arthur Suzuki
parent 3bf8b7d0d6
commit 25d2aa2a0a
1 changed files with 2 additions and 1 deletions

View File

@ -789,7 +789,7 @@
[% END # /FOREACH itemloo %]
</tbody>
</table> <!-- /#requestspecific -->
[% IF ( bibitemloo.hiddencount ) %]
<form>
<p class="hiddencount">
@ -797,6 +797,7 @@
</p>
</form>
[% END # /IF bibitemloo.hiddencount %]
[% END # /FOREACH bibitemloo %]
[% ELSE # /UNLESS multi_hold %]