[Koha-bugs] [Bug 15931] If Authority is not used by any records, remove link to cataloguing search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 17 22:36:28 CET 2016


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

Aleisha Amohia <aleishaamohia at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #48521|0                           |1
        is obsolete|                            |

--- Comment #5 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 49284
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49284&action=edit
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 at bywatersolutions.com>

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


More information about the Koha-bugs mailing list