[Koha-bugs] [Bug 22470] New: Missing the table name on misc/migration_tools/switch_marc21_series_info.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 7 10:09:57 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22470
Bug ID: 22470
Summary: Missing the table name on
misc/migration_tools/switch_marc21_series_info.pl
Change sponsored?: ---
Product: Koha
Version: 18.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Command-line Utilities
Assignee: koha-bugs at lists.koha-community.org
Reporter: gveranis at gmail.com
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
Target Milestone: ---
UPDATE marc_subfield_structure SET kohafield='seriestitle' - it's missing the
table name
it should be
$dbh->do(
"UPDATE marc_subfield_structure SET kohafield='biblio.seriestitle'
WHERE tagfield='490' AND tagsubfield='a'"
);
$dbh->do(
"UPDATE marc_subfield_structure SET kohafield='biblio.volume'
WHERE tagfield='490' AND tagsubfield='v'"
);
# empty old koha fields
$dbh->do(
"UPDATE marc_subfield_structure SET kohafield=''
WHERE kohafield='biblio.seriestitle' AND tagfield='440' AND tagsubfield='a'"
);
$dbh->do(
"UPDATE marc_subfield_structure SET kohafield=''
WHERE kohafield='biblio.volume' AND tagfield='440' AND tagsubfield='v'"
);
lines 232-249
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list