Skip to content

Commit

Permalink
Merge pull request #10634 from JMAConsulting/CRM-20673
Browse files Browse the repository at this point in the history
CRM-20673: maintain same tag order on both edit form and manage tag page
  • Loading branch information
eileenmcnaughton authored Jul 10, 2017
2 parents a3ec2b6 + 016cf48 commit 2262d1d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CRM/Core/BAO/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,10 @@ public static function getTags(
*/
public static function getColorTags($usedFor = NULL, $allowSelectingNonSelectable = FALSE, $exclude = NULL) {
$params = array(
'options' => array('limit' => 0),
'options' => array(
'limit' => 0,
'sort' => "name ASC",
),
'is_tagset' => 0,
'return' => array('name', 'description', 'parent_id', 'color', 'is_selectable', 'used_for'),
);
Expand Down

0 comments on commit 2262d1d

Please sign in to comment.