Closed (fixed)
Project:
Drupal core
Version:
8.5.x-dev
Component:
action.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Oct 2017 at 12:50 UTC
Updated:
7 Nov 2017 at 11:09 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
xjmThose all sound like good improvements to me; thanks @Chi.
Comment #3
chi commentedLooks like a perfect novice task.
Comment #4
yoroy commentedThanks for opening this followup.
Agreed these 3 are all useful improvements to implement.
Comment #5
arunkumarkI have patched for above issue.
Comment #6
chi commentedSort is not proper choice here because it does not maintain index association. It is not possible to create an action with this select list. Also note that Drupal coding standards do not allow comments to appear after statements. For this particular case this comment seems redundant because the goal of this function is pretty obvious.
Comment #7
chi commentedComment #8
arunkumark@Chi thanks for the suggestions. As per your comment, i have updated the sorting mechanism as asort(Sort an array and maintain index association).
Comment #9
chi commented@arunkumark, I am still thinking that commenting such trivial things is not needed.
Comment #10
yoroy commentedLets remove that comment then :)
Comment #11
arunkumarkThe patch was re-rolled with comment cleanup.
Comment #12
chi commentedThanks.
Comment #14
xjmNice work! The form is easier to understand now.
Committed and pushed to 8.5.x. I didn't backport it to 8.4.x since it's a UI change. Thanks everyone!