Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 15413: Adding colons where appropriate 2016-03-25 21:50:56 +00:00
admin Bug 16092: Fix error dialog and introduce the Font Awesome icons when delete a branch category 2016-03-31 19:36:13 +00:00
authorities Bug 15931: Removing link to records if authority is not used by any records 2016-03-31 20:20:26 +00:00
basket Bug 14614: Multiple URLs (856) in cart/list email are broken 2016-03-24 15:32:48 +00:00
batch
catalogue Bug 15413: Adding colons where appropriate 2016-03-25 21:50:56 +00:00
cataloguing Bug 16027 - Use Font Awesome icons in the professional cataloging interface 2016-03-24 17:01:04 +00:00
circ Bug 15793 - UX of circulation patron search with long lists of returned borrowers 2016-03-31 17:14:12 +00:00
common Bug 16120: Add the actions class to all actions td 2016-03-24 17:07:32 +00:00
course_reserves
errors
help Bug 16004: [QA Follow-up] Tiny change for unit test and help file 2016-03-31 16:57:14 +00:00
installer
labels Bug 16153: Adding "actions" class to Label Creator table actions so the buttons dont wrap 2016-03-31 19:29:40 +00:00
members Bug 15413: Adding colons where appropriate 2016-03-25 21:50:56 +00:00
offline_circ
patron_lists Bug 15196: Default sorting of patron lists 2016-03-23 22:59:42 +00:00
patroncards Bug 15722: Escape patron infos for JSON in patron searches 2016-03-24 16:14:31 +00:00
plugins
reports Bug 16163: Show message if there are no dictionary definitions 2016-03-31 18:54:11 +00:00
reserve
reviews
rotating_collections
serials Bug 15413: Adding colons where appropriate 2016-03-25 21:50:56 +00:00
services
sms
suggestion
tags Bug 15413: Adding colons where appropriate 2016-03-25 21:50:56 +00:00
test
tools Bug 16058: Delete individual news item from koha-news.pl 2016-03-31 20:08:17 +00:00
virtualshelves Bug 16120: Add the actions class to all actions td 2016-03-24 17:07:32 +00:00
about.tt Bug 15527: (qa followup) Add DSpace license to the about page 2016-03-24 17:28:38 +00:00
auth.tt
intranet-main.tt Bug 16058: Delete individual news item from koha-news.pl 2016-03-31 20:08:17 +00:00