]> git.koha-community.org Git - koha.git/commit
Bug 25582: Don't show OPAC problems entry on dashboard when there are no reports
authorOwen Leonard <oleonard@myacpl.org>
Tue, 2 Jun 2020 11:08:23 +0000 (11:08 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 17 Jun 2020 23:17:53 +0000 (23:17 +0000)
commitf4eca02d0a7a7e831c1a4eca5e39c73a1695b5df
tree79b751772589872ec95aebc69040acd15b69cb0b
parent0ee5a38798a170e2e996ee330b3f2101a9ae59be
Bug 25582: Don't show OPAC problems entry on dashboard when there are no reports

This patch makes a minor correction to the template to correct the check
on outstanding OPAC problem reports. An error was preventing the check
from working correctly.

To test, apply the patch and enable the OPACReportProblem system
preference.

 - On the staff interface home page, check the area showing pending
   operations (suggestions, tags, etc.).
 - If you have no pending OPAC problem reports there should be no line
   for OPAC problem reports.
   - If necessary, mark all pending OPAC problem reports closed and
     confirm that when there are no outstanding reports the link is
     hidden.
   - Also test when there are no other outstanding reports in that
     section (suggestions, tags, patron modifications), nothing appears
     at all, not even the surrounding border.
  - If necessary, test that the link appears when you have one or more
    OPAC problem reports.
    - Go to the OPAC and use the "Report a problem" to submit a test
      report.
    - Check that the staff interface home page reflects that there is
      now a pending report.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit a17c0475d8fff517eaf3a0da6dfaa65d43bde9f3)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt