Revert "sledgehammer to suppress see-alsos"
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 18 Aug 2017 19:55:21 +0000 (19:55 +0000)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 18 Aug 2017 19:55:21 +0000 (19:55 +0000)
This reverts commit 3487546c55ea567e14a091b92ca877a6bc0989b4.

Open-ILS/src/templates/opac/browse.tt2

index f944b52..36f528b 100644 (file)
                                             # that h.target_count is only
                                             # defined when h.target is.
 
-                                            IF h.target AND h.target_count AND result.list_authorities.grep('^' _ h.target _ '$').size == 0 AND h.main_entry;
+                                            IF h.target AND h.target_count AND result.list_authorities.grep('^' _ h.target _ '$').size == 0;
                                                 id = h.target; NEXT IF seenit.$id; seenit.$id = 1; 
                                                 IF !auth_headings_ul_added;
                                                     # only add a <ul> if we have at least one <li> (WCAG 2.0)
                                             # that h.target_count is only
                                             # defined when h.target is.
 
-                                            IF h.target AND h.target_count AND result.list_sees.grep('^' _ h.target _ '$').size == 0 AND h.main_entry AND h.target != a.id;
+                                            IF h.target AND h.target_count AND result.list_sees.grep('^' _ h.target _ '$').size == 0 AND !h.main_entry;
                                                 id = h.target; NEXT IF seenit.$id; seenit.$id = 1; 
                                                 IF !auth_headings_ul_added;
                                                     # only add a <ul> if we have at least one <li> (WCAG 2.0)