View | Details | Raw Unified | Return to bug 10486
Collapse All | Expand All

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 7182-7188 CREATE TABLE `external_target_restrictions` ( Link Here
7182
  KEY `target_id` (`target_id`),
7182
  KEY `target_id` (`target_id`),
7183
  CONSTRAINT `external_target_restrictions_ibfk_1` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE CASCADE,
7183
  CONSTRAINT `external_target_restrictions_ibfk_1` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE CASCADE,
7184
  CONSTRAINT `external_target_restrictions_ibfk_2` FOREIGN KEY (`target_id`) REFERENCES `external_targets` (`target_id`) ON DELETE CASCADE
7184
  CONSTRAINT `external_target_restrictions_ibfk_2` FOREIGN KEY (`target_id`) REFERENCES `external_targets` (`target_id`) ON DELETE CASCADE
7185
) ENGINE=InnoDB DEFAULT CHARSET=utf
7185
) ENGINE=InnoDB DEFAULT CHARSET=utf8
7186
    } );
7186
    } );
7187
    print "Upgrade to $DBversion done (Bug 10486 - Allow external Z39.50 targets to be searched from the OPAC)\n";
7187
    print "Upgrade to $DBversion done (Bug 10486 - Allow external Z39.50 targets to be searched from the OPAC)\n";
7188
    SetVersion($DBversion);
7188
    SetVersion($DBversion);
(-)a/opac/opac-external-search.pl (-2 / +1 lines)
Lines 52-58 foreach my $syntax ( qw( MARC21 UNIMARC NORMARC ) ) { Link Here
52
        push @xsltResultStylesheets, { syntax => $syntax, url => $& };
52
        push @xsltResultStylesheets, { syntax => $syntax, url => $& };
53
    }
53
    }
54
54
55
    if ( XSLTGetFilename( $syntax, 'OPACXSLTDetailDisplay' ) =~ m,/opac-tmpl/.*|^https:?.*, ) {
55
    if ( XSLTGetFilename( $syntax, 'OPACXSLTDetailsDisplay' ) =~ m,/opac-tmpl/.*|^https:?.*, ) {
56
        push @xsltDetailStylesheets, { syntax => $syntax, url => $& };
56
        push @xsltDetailStylesheets, { syntax => $syntax, url => $& };
57
    }
57
    }
58
}
58
}
59
- 

Return to bug 10486