Koha/koha-tmpl/intranet-tmpl/prog/en
Aleisha 19f9673a3b Bug 15931: Removing link to records if authority is not used by any records
EDIT:
Fixing typo: records(s) -> record(s)
On details page, if authority is not used in any records, the page will display a more used friendly message: "This authority is not used in any records."

To test:
1) Do an authority search on authorities-home.pl. Notice that authorities not used in any records have a clickable link (under 'Used in:' column) which redirects to a catalog search with no results
2) Go back to your authority search results on authorities-home.pl and click 'Details'. Notice that under the auth name, there is a 'Used in X records' link that again returns a catalog search with no results.
3) Apply patch
4) Repeat steps 1, 2. Authorities not used in any records should no longer have clickable links and links to authorities which are used in records should work as expected.
5) Confirm it now says record(s) instead of records(s)
6) Confirm that on detail page for an authority which is not used by any records, it now says more friendly message.

Sponsored-by: Catalyst IT

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-31 20:20:26 +00:00
..
css Bug 15793 - UX of circulation patron search with long lists of returned borrowers 2016-03-31 17:14:12 +00:00
data
includes Bug 13132: Add confirm dialog for deleting reports from the reports toolbar 2016-03-31 18:50:54 +00:00
js Bug 15846: Move MARC Framework JavaScript into separate file 2016-03-24 19:46:04 +00:00
lib/yui Bug 16078 [Revised] Remove unused YUI CSS 2016-03-23 01:03:47 +00:00
modules Bug 15931: Removing link to records if authority is not used by any records 2016-03-31 20:20:26 +00:00
xslt Bug 14304: RDA: Intranet display link in XSLT for 264 field to reflect Zebra indexing 2016-03-25 21:57:55 +00:00
columns.def Bug 15373: More changes of Zip to ZIP on intranet 2015-12-30 16:30:35 +00:00