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

(-)a/admin/marctagstructure.pl (-1 / +6 lines)
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
- 

Return to bug 17173