Backporting r15439: Patch from Bill Ott (after problem identification by Dan Wells...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 3 Feb 2010 15:31:55 +0000 (15:31 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 3 Feb 2010 15:31:55 +0000 (15:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@15440 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/result_common.js

index 300b571..549fd0a 100644 (file)
@@ -739,7 +739,7 @@ function resultDisplayCopyCounts(rec, pagePosition, copy_counts) {
                        /* here we style opac-invisible records for xul */
 
                        if( cts.depth == 0 ) {
-                               if(!cts.transcendant && !cts.unshadow) {
+                               if(cts.transcendant == null && cts.unshadow == 0) {
                                        _debug("found an opac-shadowed record: " + rec.doc_id());
                                        var row = cell.parentNode.parentNode.parentNode.parentNode.parentNode; 
                                        if( cts.count == 0 )