[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 24 17:12:05 CET 2016


Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
  Attachment #49284|0                           |1
        is obsolete|                            |

--- Comment #7 from Marc Véron <veron at veron.ch> ---
Created attachment 49539
Bug 15931: Removing link to records if authority is not used by any records

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>
Signed-off-by: Marc Véron <veron at veron.ch>

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

More information about the Koha-bugs mailing list