Fix: recs without online_loc break results display
authorJeff Godin <jgodin@tadl.org>
Tue, 3 Apr 2012 19:41:01 +0000 (15:41 -0400)
committerJeff Godin <jgodin@tadl.org>
Tue, 3 Apr 2012 19:41:01 +0000 (15:41 -0400)
commite31ca79722aaf9f1d1a499601f4e49c09a46fd6e
tree7501639cefc8c1595ca3fba560bff6fc4ce238e4
parentce5d1978c725bbf64e88832e9ad8754418d526c8
Fix: recs without online_loc break results display

Don't try to check a substring of rec.online_loc()[0] if there
are no entries returned by rec.online_loc() to begin with.

Manifests result_info_2 (with the prev/next links) not being
visible on the bottom of the search results page when there
are any bibs present in the results which have no online_loc()
entries.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/opac/skin/tadlv2/js/rresult.js