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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/