The logic in the code seems to not consider that use case. As the form is preloaded with that 'a' character, it concludes no default filling needs to be done.
I suggest you file a bug for it. El dom., 30 ene. 2022 9:55, Michael Kuhn <m...@adminkuhn.ch> escribió: > Hi > > Our library is working with Debian 11 and Koha 21.05.02. > > When displaying a bibliographic record in the normal view of the staff > client, the clicking "New > New child record" the LEADER will just > contain the following: "␣␣␣␣␣␣␣␣␣a␣␣␣␣␣␣␣␣␣␣␣␣␣␣" (I have replaced the > space character by ␣ to make it visible). It stays the same when we > click into the field. So when we fill the rest of the required fields > and save the record we will end up with a record that is not properly > linked to the parent record. > > This is irritating since when just creating a "normal" (non-child) new > record, the LEADER is automatically filled with the correct content when > clicking the field resp. trying to save the record. This happens through > plugin "marc21_leader.pl". > > However, when creating A new child record if we click the tag editor > symbol at the far right, the popup "000- Leader" opens and we can click > "OK" which will eventually result in the following LEADER content: > "␣␣␣␣␣aaa␣a22␣␣␣␣␣␣␣␣4500". This seems somehow cumbersome since we don't > want to change anything there. It would be desirable if this content > would just appear when clicking the field resp. trying to save the > record as it does when just creating a "normal" (non-child) record. > > Is there a way to achieve this? > > Best wishes: Michael > -- > Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis > Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz > T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch > _______________________________________________ > > Koha mailing list http://koha-community.org > Koha@lists.katipo.co.nz > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha