| 
      
            Lines 734-751
          sub _new_Zconn {
      
      
        Link Here
      
     | 
  
        
          | 734 | 
              $server //= "biblioserver";  | 
          734 | 
              $server //= "biblioserver";  | 
        
        
          | 735 | 
              $syntax //= "XML";  | 
          735 | 
              $syntax //= "XML";  | 
        
        
          | 736 | 
           | 
          736 | 
           | 
        
          
            
              | 737 | 
                  if ( ($server eq 'biblioserver' and $context->{'config'}->{'zebra_bib_index_mode'} eq 'grs1') | 
              737 | 
                  if ( ($server eq 'biblioserver' and $context->{'config'}->{'zebra_bib_index_mode'} eq 'dom') | 
            
            
              | 738 | 
                      or ($server eq 'authorityserver' and $context->{'config'}->{'zebra_auth_index_mode'} eq 'grs1')) { | 
              738 | 
                          and ($server eq 'authorityserver' and $context->{'config'}->{'zebra_auth_index_mode'} eq 'dom')) { | 
            
            
               | 
               | 
              739 | 
               | 
            
            
              | 740 | 
                      $elementSetName = 'marcxml';  | 
            
            
              | 741 | 
                      $syntax = 'XML';  | 
            
            
              | 742 | 
               | 
            
            
              | 743 | 
                  } else { | 
            
        
          | 739 | 
           | 
          744 | 
           | 
        
        
          | 740 | 
                  $elementSetName = 'F';  | 
          745 | 
                  $elementSetName = 'F';  | 
        
        
          | 741 | 
                  $syntax = ( $context->preference("marcflavour") eq 'UNIMARC' ) | 
          746 | 
                  $syntax = ( $context->preference("marcflavour") eq 'UNIMARC' ) | 
        
        
          | 742 | 
                          ? 'unimarc'  | 
          747 | 
                          ? 'unimarc'  | 
        
        
          | 743 | 
                          : 'usmarc';  | 
          748 | 
                          : 'usmarc';  | 
        
        
          | 744 | 
           | 
          749 | 
           | 
        
            
              | 745 | 
                  } else { | 
               | 
               | 
            
            
              | 746 | 
               | 
            
            
              | 747 | 
                      $elementSetName = 'marcxml';  | 
            
            
              | 748 | 
                      $syntax = 'XML';  | 
            
        
          | 749 | 
              }  | 
          750 | 
              }  | 
        
        
          | 750 | 
           | 
          751 | 
           | 
        
        
          | 751 | 
              my $host = $context->{'listen'}->{$server}->{'content'}; | 
          752 | 
              my $host = $context->{'listen'}->{$server}->{'content'}; | 
        
            
              | 752 | 
              -   | 
               | 
               |