|
Lines 244-249
if (scalar(@$invalid_authtypecodes) > 0) {
Link Here
|
| 244 |
$template->param(authtypecode_info => $invalid_authtypecodes); |
244 |
$template->param(authtypecode_info => $invalid_authtypecodes); |
| 245 |
} |
245 |
} |
| 246 |
|
246 |
|
|
|
247 |
# checks items.permanent_location is not mapped |
| 248 |
$sth = $dbh->prepare("SELECT frameworkcode, frameworktext, tagfield, tagsubfield |
| 249 |
FROM marc_subfield_structure |
| 250 |
LEFT JOIN biblio_framework USING (frameworkcode) |
| 251 |
WHERE kohafield='permanent_location' OR |
| 252 |
kohafield='items.permanent_location'"); |
| 253 |
$sth->execute; |
| 254 |
my $permanent_location_mapped = $sth->fetchall_arrayref({}); |
| 255 |
if (scalar(@$permanent_location_mapped) > 0) { |
| 256 |
$total++; |
| 257 |
$template->param(permanent_location_mapped => 1); |
| 258 |
$template->param(mapped_permanent_location => $permanent_location_mapped); |
| 259 |
} |
| 260 |
|
| 261 |
|
| 247 |
$template->param(total => $total, |
262 |
$template->param(total => $total, |
| 248 |
); |
263 |
); |
| 249 |
|
264 |
|