[Koha-bugs] [Bug 15214] New: bulkmarcimport should log if an authority has been updated
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 19 09:51:25 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15214
Bug ID: 15214
Summary: bulkmarcimport should log if an authority has been
updated
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Command-line Utilities
Assignee: gmcharlt at gmail.com
Reporter: matthias.meusburger at biblibre.com
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
When importing with bulkmarcimport, authorities may or may not be updated based
on which authority is newer (005 are compared).
It could be useful to keep track of which authority has been updated or not in
the result yaml file.
This patch does that.
Test plan:
1) Import an authority file with -yaml. The resulting yaml file looks like
this:
---
027226794:
authid: 41759
subfields:
- France
02722709X:
authid: 44782
subfields:
- Femmes
- Travail
[...]
2) Apply the patch.
3) Import an authority file with -yaml. The resulting yaml file should look
like this:
---
027226794:
authid: 41759
subfields:
- France
updated: 1
02722709X:
authid: 44782
subfields:
- Femmes
- Travail
updated: 0
[...]
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list