]> git.koha-community.org Git - koha.git/commit
Bug 16875: OPAC - removing link to records if authority is not used by any records
authorAleisha <aleishaamohia@hotmail.com>
Thu, 7 Jul 2016 23:26:12 +0000 (23:26 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Sep 2016 13:11:40 +0000 (13:11 +0000)
commitd8aae99a1cf69a019139debbbb18906956b0702a
tree11f6e4e27778ff66d83373a9704b3b4e1990204a
parent4d417521c0c51d9b65da6e274db4e1c5be29cc1d
Bug 16875: OPAC - removing link to records if authority is not used by any records

To test:
1) Do an authority search. Notice that authorities not used by any records have a clickable link (under Biblio records) which redirects to a catalog search with no results
2) Go back to the authority search and click View full heading for an authority with no records. Notice that under the auth name, it says Number of records used in: 0, with a link to a catalog search
3) Apply patch
4) Repeat steps 1 and 2. Authorities not used in any records should no longer have clickable links nd authorities which have records should work as expected.

Sponsored-by: Catalyst IT
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt