| 
      
            Lines 34-40
          
      
      
        Link Here
      
     | 
  
        
          | 34 | 
                                          <strong>Showing only records with available items</strong>  | 
          34 | 
                                          <strong>Showing only records with available items</strong>  | 
        
        
          | 35 | 
                                          </li>  | 
          35 | 
                                          </li>  | 
        
        
          | 36 | 
                                          <li>  | 
          36 | 
                                          <li>  | 
        
          
            
              | 37 | 
                                                  <a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi_not_availablity | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]">Show all records</a>  | 
              37 | 
                                                  <a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi_not_available | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]">Show all records</a>  | 
            
        
          | 38 | 
                                      [% ELSE %]  | 
          38 | 
                                      [% ELSE %]  | 
        
        
          | 39 | 
                                          <a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]&limit=available">Limit to records with available items</a>  | 
          39 | 
                                          <a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]&limit=available">Limit to records with available items</a>  | 
        
        
          | 40 | 
                                      [% END # /IF available %]  | 
          40 | 
                                      [% END # /IF available %]  | 
        
  
    | 
      
            Lines 47-52
          
      
      
        Link Here
      
     | 
  
        
          | 47 | 
                              [% END %]  | 
          47 | 
                              [% END %]  | 
        
        
          | 48 | 
                          </li> <!-- /#availability_facet -->  | 
          48 | 
                          </li> <!-- /#availability_facet -->  | 
        
        
          | 49 | 
           | 
          49 | 
           | 
        
            
               | 
               | 
              50 | 
                              [% IF Koha.Preference("ShowComponentRecordsFacet") == 'staff' || Koha.Preference("ShowComponentRecordsFacet") == 'both' %] | 
            
            
              | 51 | 
                              <li id="component_record_facet">  | 
            
            
              | 52 | 
                                  Component records  | 
            
            
              | 53 | 
                                  <ul>  | 
            
            
              | 54 | 
                                      <li>  | 
            
            
              | 55 | 
                                          [% IF ( limit_exclude_component_records ) || ( limit_component_records ) %]  | 
            
            
              | 56 | 
                                              <strong>[% IF ( limit_exclude_component_records ) %]Excluding[% ELSE %]Showing only[% END %] component records</strong>  | 
            
            
              | 57 | 
                                              </li>  | 
            
            
              | 58 | 
                                              <li>  | 
            
            
              | 59 | 
                                                  <a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% IF ( limit_exclude_component_records ) %][% limit_cgi_not_limit_exclude_component_records %][% END %][% IF ( limit_component_records ) %][% limit_cgi_not_limit_component_records %][% END %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]">Show all records</a>  | 
            
            
              | 60 | 
                                          [% ELSE %]  | 
            
            
              | 61 | 
                                              <a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]&limit=exclude_component_records">Exclude component records</a>  | 
            
            
              | 62 | 
                                              </li>  | 
            
            
              | 63 | 
                                              <li>  | 
            
            
              | 64 | 
                                              <a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]&limit=component_records">Show component records</a>  | 
            
            
              | 65 | 
                                          [% END # /IF limit_exclude_component_records %]  | 
            
            
              | 66 | 
                                      </li>  | 
            
            
              | 67 | 
                                  </ul>  | 
            
            
              | 68 | 
                              </li> <!-- /#component_record_facet -->  | 
            
            
              | 69 | 
                              [% END # /IF ShowComponentRecordsFacet %]  | 
            
            
              | 70 | 
               | 
            
        
          | 50 | 
                          [% FOREACH facets_loo IN facets_loop %]  | 
          71 | 
                          [% FOREACH facets_loo IN facets_loop %]  | 
        
        
          | 51 | 
                              [% IF facets_loo.facets.size > 0 %]  | 
          72 | 
                              [% IF facets_loo.facets.size > 0 %]  | 
        
        
          | 52 | 
                                  <li id="[% facets_loo.type_id | html %]">  | 
          73 | 
                                  <li id="[% facets_loo.type_id | html %]">  | 
        
            
              | 53 | 
              -   | 
               | 
               |