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

(-)a/installer/data/mysql/updatedatabase.pl (-4 / +5 lines)
Lines 19229-19236 if( CheckVersion( $DBversion ) ) { Link Here
19229
        });
19229
        });
19230
    }
19230
    }
19231
19231
19232
#    $dbh->do(q{UPDATE marc_subfield_structure JOIN fieldmapping ON tagfield = fieldcode AND subfieldcode=tagsubfield SET kohafield='biblio.subtitle' WHERE fieldmapping.frameworkcode='' AND field = 'subtitle'});
19232
    $sth = $dbh->prepare("SELECT * FROM fieldmapping");
19233
    $sth = $dbh->prepare("SELECT * FROM fieldmapping"); # WHERE frameworkcode != '' OR field != 'subtitle'");
19234
    $sth->execute;
19233
    $sth->execute;
19235
    my @fails_11529;
19234
    my @fails_11529;
19236
    if ( $sth->rows ) {
19235
    if ( $sth->rows ) {
Lines 19269-19275 if( CheckVersion( $DBversion ) ) { Link Here
19269
              . $fail_11529->{framework}
19268
              . $fail_11529->{framework}
19270
              . " framework\n";
19269
              . " framework\n";
19271
        }
19270
        }
19272
        print "You will need to remap using Koha to MARC mappings in administration\n";
19271
        print "The keyword to marc mapping feature is no longer supported. Above find the\n";
19272
        print "mappings that had been defined in your system. You will need to remap any\n";
19273
        print "desired MARC fields to the Koha field you desire in the Koha to MARC mappings\n";
19274
        print "page under Administration\n";
19273
    }
19275
    }
19274
    print "NOTE: misc/batchRebuildBiblioTables.pl should be run to populate the fields introduced in bug 11529. It may take some time for larger databases.\n\n"
19276
    print "NOTE: misc/batchRebuildBiblioTables.pl should be run to populate the fields introduced in bug 11529. It may take some time for larger databases.\n\n"
19275
}
19277
}
19276
- 

Return to bug 25707