[Koha-bugs] [Bug 15851] Only display "Analytics: Show analytics" when records have linked analytics

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 16 12:43:20 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15851

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|release-notes-needed        |
  Text to go in the|                            |This development changes
      release notes|                            |how the _Show analytics_
                   |                            |link is displayed in both
                   |                            |OPAC and staff interface.
                   |                            |
                   |                            |The main changes are:
                   |                            |* It
                   |                            |is only displayed if it
                   |                            |would actually have results
                   |                            |(right now it always shows,
                   |                            |and the link can point to
                   |                            |empty results)
                   |                            |* It is no
                   |                            |longer constrained to
                   |                            |serials: _collections_,
                   |                            |_subunits_, _integrating
                   |                            |resources_, _monographs_
                   |                            |and _serials_, all will
                   |                            |display the link.
                   |                            |
                   |                            |New CSS
                   |                            |classes are added for each
                   |                            |material type:
                   |                            |
                   |                            |*
                   |                            |_analytic_collection_
                   |                            |*
                   |                            |_analytic_subunit_
                   |                            |*
                   |                            |_analytic_ires_
                   |                            |*
                   |                            |_analytic_monograph_
                   |                            |*
                   |                            |_analytic_serial_
                   |                            |
                   |                            |This
                   |                            |way, libraries that wish to
                   |                            |only display those links
                   |                            |for serials (for example),
                   |                            |can hide them for other
                   |                            |resources:
                   |                            |
                   |                            |```
                   |                            |.analytic_collection
                   |                            |.analytic_subunit
                   |                            |.analytic_ires
                   |                            |.analytic_monograph {
                   |                            |display: none };
                   |                            |```
                   |                            |
                   |                            |This
                   |                            |CSS classes can be used in
                   |                            |both OPAC and admin
                   |                            |interface.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list