Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When editing a customer profile that will replace an existing one, it would be nice if the form submit would check to see if the old profile was a default and set the new one as a default if it was.
Comment | File | Size | Author |
---|---|---|---|
#1 | set-new-as-default-1508952-1.patch | 2.05 KB | BassistJimmyJam |
Comments
Comment #1
BassistJimmyJam CreditAttribution: BassistJimmyJam commentedPatch attached.
Comment #2
BassistJimmyJam CreditAttribution: BassistJimmyJam commentedForgot to update status.
Comment #3
bojanz CreditAttribution: bojanz commentedChanged it to just return a profile id (no need to load the whole entity), changed one more function to use it, improved the doc block, and committed:
http://drupalcode.org/project/commerce_addressbook.git/commitdiff/e8a941f