Lines 285-290
if ($op eq 'add_form') {
Link Here
|
285 |
$template->param(select_display => "True", |
285 |
$template->param(select_display => "True", |
286 |
loop => \@loop_data); |
286 |
loop => \@loop_data); |
287 |
} else { |
287 |
} else { |
|
|
288 |
# Hidden feature: If search was field$subfield, redirect to the subfield edit form |
289 |
my ( $tagfield, $tagsubfield ) = split /\$/, $searchfield; |
290 |
if ( $tagsubfield ) { |
291 |
print $input->redirect('/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield='.$tagfield.'&frameworkcode='.$frameworkcode.'#sub'.$tagsubfield.'field'); |
292 |
exit; |
293 |
} |
288 |
#here, normal old style : display every tags |
294 |
#here, normal old style : display every tags |
289 |
my ($count,$results)=StringSearch($searchfield,$frameworkcode); |
295 |
my ($count,$results)=StringSearch($searchfield,$frameworkcode); |
290 |
$cnt = $count; |
296 |
$cnt = $count; |
291 |
- |
|
|