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

(-)a/authorities/authorities.pl (-1 / +2 lines)
Lines 662-673 if ($op eq "duplicate") Link Here
662
662
663
my $authority_types = Koha::Authority::Types->search( {}, { order_by => ['authtypetext'] } );
663
my $authority_types = Koha::Authority::Types->search( {}, { order_by => ['authtypetext'] } );
664
664
665
my $type = $authority_types->find($authtypecode);
665
$template->param(
666
$template->param(
666
    authority_types => $authority_types,
667
    authority_types => $authority_types,
667
    authtypecode    => $authtypecode,
668
    authtypecode    => $authtypecode,
668
    authid          => $authid,
669
    authid          => $authid,
669
    linkid          => $linkid,
670
    linkid          => $linkid,
670
    authtypetext    => $authority_types->find($authtypecode)->authtypetext,
671
    authtypetext    => $type ? $type->authtypetext : "",
671
    hide_marc       => C4::Context->preference('hide_marc'),
672
    hide_marc       => C4::Context->preference('hide_marc'),
672
);
673
);
673
output_html_with_http_headers $input, $cookie, $template->output;
674
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/authorities/detail.pl (-2 / +3 lines)
Lines 208-222 my $biblio_fields; Link Here
208
while (my ($tagfield) = $sth->fetchrow) {
208
while (my ($tagfield) = $sth->fetchrow) {
209
	$biblio_fields.= $tagfield."9,";
209
	$biblio_fields.= $tagfield."9,";
210
}
210
}
211
chop $biblio_fields;
211
chop $biblio_fields if $biblio_fields;
212
212
213
build_tabs ($template, $record, $dbh,"",$query);
213
build_tabs ($template, $record, $dbh,"",$query);
214
214
215
my $type = $authority_types->find($authtypecode);
215
$template->param(
216
$template->param(
216
    authid          => $authid,
217
    authid          => $authid,
217
    count           => $count,
218
    count           => $count,
218
    biblio_fields   => $biblio_fields,
219
    biblio_fields   => $biblio_fields,
219
    authtypetext    => $authority_types->find($authtypecode)->authtypetext,
220
    authtypetext    => $type ? $type->authtypetext: "",
220
    authtypecode    => $authtypecode,
221
    authtypecode    => $authtypecode,
221
    authority_types => $authority_types,
222
    authority_types => $authority_types,
222
);
223
);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt (-2 / +1 lines)
Lines 90-96 function changeFramework(fw) { Link Here
90
    [% IF frameworkselect %]
90
    [% IF frameworkselect %]
91
          <li><label for="frameworkcode">Using framework:</label>
91
          <li><label for="frameworkcode">Using framework:</label>
92
                      <select name="frameworkcode" id="frameworkcode">
92
                      <select name="frameworkcode" id="frameworkcode">
93
                                      <option value="Default">Default</option>
93
                                      <option value="">Default</option>
94
                                      [% FOREACH frameworkcodeloo IN frameworkselect %]
94
                                      [% FOREACH frameworkcodeloo IN frameworkselect %]
95
                                          [% IF frameworkcodeloo.authtypecode == frameworkcode1 %]
95
                                          [% IF frameworkcodeloo.authtypecode == frameworkcode1 %]
96
                                              <option value="[% frameworkcodeloo.value %]" selected="selected">
96
                                              <option value="[% frameworkcodeloo.value %]" selected="selected">
97
- 

Return to bug 17380