OPAC Browse: Avoid showing tracing if linked authorities have no bibs
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 22 Jul 2013 18:08:05 +0000 (14:08 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 22 Jul 2013 18:08:05 +0000 (14:08 -0400)
commit88b0b3fb702fb8f3f4b5057d817f1b335a452d0c
treeb1c973792e167daf9d49e291ac49d8b8e9edf942
parente6bab3b13d6511ff435ed269aa1c39bfd2914ccf
OPAC Browse: Avoid showing tracing if linked authorities have no bibs

If the OPAC browser is displaying a heading, e.g. Stephen King, and
there's a 5XX for Richard Bachman, and that the authority records are
properly linked together, you're going to see a "See Also Richard
Bachman" link indented under Stephen King.

However, you probably don't actually want to see See Also Richard
Bachman if you have no bibs linked to the Richard Bachman authority
record.  This commit skips display of such tracings if the target
authority has no bibs linked to it.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/opac/browse.tt2