https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27308 --- Comment #1 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 114698 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114698&action=edit Bug 27308: Skip blank lines when inserting new The intent of the macro insert new function is to add a new field at the correct numerical place in the record. If you have a blank line while editing, however, the new line will be inserted at the blank line, rather than checking the rest of the record. To test: 1 - Create a macro like new 690=‡aLOCAL SUBJECT 2 - Insert a blank line into your record somewhere before where the 690 should be inserted 3 - Run the macro 4 - Line is inserted before the blank line 5 - Apply patch 6 - Reload (ensure cache is cleared and JS files are reloaded) 7 - Remove the previously created field, but leave the blank 8 - Run the macro 9 - Field is created at correct position -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.