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

(-)a/admin/marctagstructure.pl (-5 / +4 lines)
Lines 181-187 if ($op eq 'add_form') { Link Here
181
    $cache->clear_from_cache("MarcStructure-1-$frameworkcode");
181
    $cache->clear_from_cache("MarcStructure-1-$frameworkcode");
182
    $cache->clear_from_cache("default_value_for_mod_marc-");
182
    $cache->clear_from_cache("default_value_for_mod_marc-");
183
    $cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode");
183
    $cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode");
184
	$template->param( searchfield => $searchfield );
184
    $template->param( searchfield => $searchfield );
185
													# END $OP eq DELETE_CONFIRMED
185
													# END $OP eq DELETE_CONFIRMED
186
################## ITEMTYPE_CREATE ##################################
186
################## ITEMTYPE_CREATE ##################################
187
# called automatically if an unexisting  frameworkis selected
187
# called automatically if an unexisting  frameworkis selected
Lines 197-203 if ($op eq 'add_form') { Link Here
197
            };
197
            };
198
		}
198
		}
199
	}
199
	}
200
	$template->param( existingframeworkloop => \@existingframeworkloop );
200
    $template->param( existingframeworkloop => \@existingframeworkloop );
201
201
202
################## DEFAULT ##################################
202
################## DEFAULT ##################################
203
} else { # DEFAULT
203
} else { # DEFAULT
Lines 294-306 if ($op eq 'add_form') { Link Here
294
		$template->param(isprevpage => $offset,
294
		$template->param(isprevpage => $offset,
295
						prevpage=> $offset-$pagesize,
295
						prevpage=> $offset-$pagesize,
296
						searchfield => $searchfield,
296
						searchfield => $searchfield,
297
						script_name => $script_name
297
                        script_name => $script_name
298
		);
298
		);
299
	}
299
	}
300
	if ($offset+$pagesize<$cnt) {
300
	if ($offset+$pagesize<$cnt) {
301
		$template->param(nextpage =>$offset+$pagesize,
301
		$template->param(nextpage =>$offset+$pagesize,
302
						searchfield => $searchfield,
302
						searchfield => $searchfield,
303
						script_name => $script_name
303
                        script_name => $script_name
304
		);
304
		);
305
	}
305
	}
306
} #---- END $OP eq DEFAULT
306
} #---- END $OP eq DEFAULT
307
- 

Return to bug 21704