Ticket #4620 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

swap_author_names revised to eliminate trailing comma and split/swap at first comma or space

Reported by: Starson17 Owned by: kovidgoyal
Priority: minor Milestone:
Component: Default Version: trunk
Keywords: Cc:

Description

swap_author_names function previously split and swapped at the last space in the name, leaving a comma at the end of the author's last name when in "lastname, firstname" format and using the middle name as the last name when in "lastname, middlename firstname" format. This proposed change now splits at the first comma if there is a comma in the author name (when swap author name checkbox is selected) or at the first space in the name when no comma is found.

Tested on Windows Vista only

Attachments

my-changes Download (2.3 KB) - added by Starson17 8 months ago.
bazaar changes file

Change History

Changed 8 months ago by Starson17

bazaar changes file

comment:1 Changed 7 months ago by kovidgoyal

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in branch trunk. The fix will be in the next release.

Note: See TracTickets for help on using tickets.