Summary: | Rename Koha::Biblio->metadata with ->marc_xml to avoid ambiguity | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Architecture, internals, and plumbing | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | tomascohen |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34828 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 22700 | ||
Bug Blocks: |
Description
Jonathan Druart
2019-06-28 18:17:36 UTC
It should return a Koha::Biblio::Metadata object, which is an envelope containing info about the schema, format, etc. Maybe you mean a method in Koha::Biblio::Metadata The problem IMO is that we have a DB structure to allow 1-N but it's not clear (reading the code) that we support only one. I think we should have "marc_xml" explicitely written in the name of the subroutine, to make it clear. Reading the code I'd say that even if you have a biblio_metadata.format with something else than "marcxml", it will be used anyway. |