http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14098
Jonathan Druart <jonathan.dru...@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=8015, | |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=11413, | |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=11319, | |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=11395 Status|NEW |In Discussion CC| |katrin.fisc...@bsz-bw.de, | |laurence.lefaucheur@biblibr | |e.com, neng...@gmail.com, | |tomasco...@gmail.com --- Comment #4 from Jonathan Druart <jonathan.dru...@biblibre.com> --- I don't manage to provide a patch. There is a lot of combinations. How does it work now (3.20.00.000)? Let's consider this control sample: 245 _aThe art of computer programming _cDonald E. Knuth. 300 _aA_exists _bB_exists 1/ Copy a field to a nonexistent field Action: Copy the whole field 245 to 246: Result: 245 _aThe art of computer programming _cDonald E. Knuth. 246 _aThe art of computer programming _cDonald E. Knuth. 300 _aA_exists _bB_exists 2/ Copy a subfield to a nonexistent field Result: Action: Copy the subfield 245$a to 11395 246$a: 245 _aThe art of computer programming _cDonald E. Knuth. 246 _aThe art of computer programming 300 _aA_exists _bB_exists 3/ Copy a field to an existent field Result: Action: Copy the whole field 245 to 300: 245 _aThe art of computer programming _cDonald E. Knuth. 300 _aA_exists _bB_exists 300 _aThe art of computer programming _cDonald E. Knuth. 4/ Copy a subfield to an existent field Result: Action: Copy the subfield 245$a to 300$a: 245 _aThe art of computer programming _cDonald E. Knuth. 300 _aThe art of computer programming _bB_exists QUESTION: First, is that make sense to add a new field in 3 but erase the subfield in 4? This is certainly wrong. To support more use cases, I would like to create another action "copy and replace". Let's consider the same control sample: 245 _aThe art of computer programming _cDonald E. Knuth. 300 _aA_exists _bB_exists 1/ Copy (and replace) a field to a nonexistent field Action: Copy the whole field 245 to 246. Result (same as copy): 245 _aThe art of computer programming _cDonald E. Knuth. 246 _aThe art of computer programming _cDonald E. Knuth. 300 _aA_exists _bB_exists 2/ Copy (and replace) a subfield to a nonexistent field Action: Copy the subfield 245$a to 246$a. Result (same as copy): 245 _aThe art of computer programming _cDonald E. Knuth. 246 _aThe art of computer programming 300 _aA_exists _bB_exists 3/ Copy (and replace) a field to an existent field Action: Copy the whole field 245 to 300: Result: 245 _aThe art of computer programming _cDonald E. Knuth. 300 _aThe art of computer programming _cDonald E. Knuth. 4/ Copy (and replace) a field to an existent field Action: Copy the subfield 245$a to 300$a: Result: 245 _aThe art of computer programming _cDonald E. Knuth. 300 _aThe art of computer programming _bB_exists QUESTION: Does everybody agree with that? Ok, That was the easy situations. Now what should happen if we have this control sample? 245 _aThe art of computer programming _cDonald E. Knuth. 245 _aAnother title _cAnother author 300 _aA_exists _bB_exists 300 _aA_also_exists _bB_also_exists -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/