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>
This commit is contained in:
parent
09bbc5e845
commit
a45b105c24
1 changed files with 1 additions and 1 deletions
|
@ -859,7 +859,7 @@
|
|||
[% IF hiddencount %]
|
||||
<form>
|
||||
<p class="hiddencount">
|
||||
<a href="request.pl?biblionumber=[% biblio.biblionumber | uri %]&borrowernumber=[% borrowernumber | uri %]&showallitems=1">Show all items ([% biblio.hiddencount | html %] hidden)</a>
|
||||
<a href="request.pl?biblionumber=[% biblio.biblionumber | uri %]&borrowernumber=[% borrowernumber | uri %]&showallitems=1">Show all items ([% hiddencount | html %] hidden)</a>
|
||||
</p>
|
||||
</form>
|
||||
[% END # /IF hiddencount %]
|
||||
|
|
Loading…
Reference in a new issue