https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42920
--- Comment #3 from Phil Ringnalda <[email protected]> --- Created attachment 201468 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201468&action=edit Bug 42920: Looking up authority records in Advanced editor shouldn't append spaces The patch for bug 21453 replaced an Advanced editor-specific (in the "[% IF rancor %]" block) "[%- END -%]‡9[% authid | html %]";" which trims whitespace with several lines of "[% ... %]" which do not trim whitespace. The result is that when you look up an authority from the Advanced editor, you get extra whitespace between the last subfield from the authority record and the $9 field with the authority id. Test plan: 1. Without the patch, set the preference EnableAdvancedCatalogingEditor to Enable 2. Cataloging - Advanced editor 3. Click in any line of the editor and press Return to get a blank line 4. Type 655 and press Tab three times 5. Type Ctrl+Shift+L to open the authority search popup 6. Click Search (no need for search terms) and click Choose for any record 7. Note that the editor shows twenty blank spaces between the end of the subfield a contents and the ‡9 8. Apply patch 9. Repeat steps 3-6, note that now there is no extra space between the end of the content and the ‡9 Sponsored-by: Chetco Community Public Library -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
