Bug 40937: Include show data menu button for batch_borrowernumbers
To test:
1 - save and run a report of "SELECT borrowernumber FROM borrowers"
2 - observe your results page does not include the Show Data Menu button
3 - save and run a report of "SELECT cardnumber FROM borrowers"
4 - observe your results page does include the button
5 - save and run a report of "SELECT borrowernumber, cardnumber FROM borrowers"
6 - observe you are once again buttonless on the results page
7 - apply patch
8 - run your report from step 1, observe you now have the button
9 - run your report from step 3, observe you still have the button
10 - run your report from step 5, observe you now have the button
11 - confirm that the batch actions dropdown only includes the patron actions once
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Works as advertised.
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 5e5ffeea82)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
25f9243304
commit
8c8128a7ba
|
|
@ -1238,7 +1238,7 @@
|
|||
</div>
|
||||
[% END # /IF ( unlimited_total > 10 && limit <= 1000 ) %]
|
||||
|
||||
[% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
|
||||
[% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers ) %]
|
||||
<a href="#" class="btn btn-link" id="toggle_auto_links">
|
||||
<i class="fa-solid fa-eye autolink" aria-hidden="true" style="display:none"></i>
|
||||
<i class="fa-solid fa-eye-slash autolink" aria-hidden="true"></i>
|
||||
|
|
|
|||
Loading…
Reference in New Issue