http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15381
Frédéric Demians <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Frédéric Demians <[email protected]> --- For me what happens here is the same field as what you have observed with system preferences. We have information serialized in the relational DB model (so a lot of linked tables) which could be more easily represented in other data structures. Koha is requesting ad nauseam multiple tables. I fear that your patches are just overcomplexifying something which is already far too complex. It's becoming byzantines. Finally, you're creating multiples classes to access data found in one table (auth_types) which can contain up to 10 records. On bug 5572, I've tried to simplify the authorities merge() function. On the road, I introduced a new function that gather info from auth_type, auth_subfield_structure, and marc_subfield_structure. A data structure represents all authority types. It can be something like that: GEO: type: GEO tag: 151 letters: 68abvxyz bibtags: 691 PERSO_NAME: type: PERSO_NAME tag: 100 letters: 68abcdefghjklmnopqrstvxyz THEME: type: THEME tag: 150 letters: 68abvxyz bibtags: 690|691 This can be cached. From that, we have all info needed by Koha code manipulating authorities, without having to go back to DB tables containing authorities definitions. -- 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/
