http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4222
--- Comment #46 from David Cook <[email protected]> --- Maybe it's worth teasing apart what needs to happen here... Architecture: 1) Add nonpublicnote to the items and deleteditems tables for all installs using updatebase.pl (it shouldn't matter if the column is in the items table for old installs). 2) Change kohastructure and default framework SQL so that new installs map 952$x (and the other flavour equivalents) to the nonpublicnote DB column. Display (Show on): 1) detail page 2) moredetail page 3) circulation pages 4) returns pages 5) serial collections pages? Utilities: 1) Iterate through all frameworks -> If a mapping for item Non-public note is found, copy the data into the nonpublicnote column. -> If no mapping is found, use the subfield in the framework (probably X) to interrogate the more_subfield_xml for an element with that subfield, and copy that data into the publicnote column. 2) Set the mapping for all frameworks for Non-public note to nonpublicnote DB column. -- Concerns: When iterating through the frameworks, we need to have a way of defining the entry for which we're looking. I don't think it's enough to look for the string "Non-public note" as that might be changed (or translated?). Is it enough to look for the 952$x? This probably only applies to MARC21 so we'll need to take into account the other marc tags used for the other MARC flavours. It might be an idea to make the utility interactive to make sure that the 952$x (or whatever) is the right framework entry to be analyzing...although if the script is interactive, it might make it more difficult for some people to do upgrades. Thoughts anyone? -- 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/
