Lines 310-321
if ( $op eq 'add_form' ) {
Link Here
|
310 |
# Hidden feature: If search was field$subfield, redirect to the subfield edit form |
310 |
# Hidden feature: If search was field$subfield, redirect to the subfield edit form |
311 |
my ( $tagfield, $tagsubfield ) = split /\$/, $searchfield; |
311 |
my ( $tagfield, $tagsubfield ) = split /\$/, $searchfield; |
312 |
if ($tagsubfield) { |
312 |
if ($tagsubfield) { |
313 |
print $input->redirect( '/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=' |
313 |
print $input->redirect( |
314 |
. $tagfield |
314 |
sprintf |
315 |
. '&frameworkcode=' |
315 |
'/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=%s&frameworkcode=%s#%s_panel', |
316 |
. $frameworkcode . '#sub' |
316 |
$tagfield, $frameworkcode, $tagsubfield |
317 |
. $tagsubfield |
317 |
); |
318 |
. 'field' ); |
|
|
319 |
exit; |
318 |
exit; |
320 |
} |
319 |
} |
321 |
|
320 |
|
322 |
- |
|
|