http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7515
--- Comment #21 from Kyle M Hall <[email protected]> --- (In reply to comment #19) > This patch looks to be a duplicate of bug 7379 if i'm not mistaking. I think > we should find a generic solution and not add specific code. > > So switching to in discussion and also linking to bug 7525 Paul, can you give me some more input on this? I think there are a few solutions: 1) Solve at the .pl level: i.e. patch as we go along in the perl code ( i.e. this bug's patches ) 2) Solve at the .tt level: i.e. use Koha::Template::Plugin::KohaAuthorisedValues and patch as we go along at the template level. We can patch this sub to check for an authorised value mapping and return either the correct mapping or the original passed in data. The will greatly simplify the amount of code necessary to support the use of authorised values mapping. 3) Solve at the .pm level: i.e. all subs that send back data from biblio, biblioitems or items will first pass that data through a new sub ReplaceWithAuthorisedValues that will check each field to see if it is mapped to an authorised value list and replace the code with the data if necessary. I personally think choice 2 is will be the quickest, lightest weight solution. -- 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/
