https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34828

--- Comment #6 from Tomás Cohen Arazi <[email protected]> ---
David and all, I'm happy to have the ball roll and have all your ideas. I'm not
attached to this particular code in any way.

I'm just generally not sure about the approach we have taken, and this is the
best I have come up with.

opac-detail.pl has calls to:

    GetNormalizedEAN
    GetNormalizedISBN
    GetNormalizedOCLCNumber
    GetNormalizedUPC
    GetMarcControlnumber
    GetMarcISBN
    GetMarcISSN
    GetMarcSeries
    GetMarcSubjects
    GetMarcUrls

About object orientation: I think I just didn't want to type long names for
each call (considering we might have mixes of schemas, even). I would agree my
code could just be passed a Koha::Biblio::Metadata object instead, which
*should* cache the calculated MARC::Record object in some way.

The ambivalence between Koha::Biblio and Koha::Biblio::Metadata has always
smelled. It become evident when we were developing the /biblios endpoint. And
the reason I filed bug 14645 8 years ago (LOL, just remembered).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to