projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3ec2b6
)
CRM-20673: maintain same tag order on both edit form and manage tag page
author
deb.monish
<monish.deb@jmaconsulting.biz>
Mon, 10 Jul 2017 20:16:10 +0000
(
01:46
+0530)
committer
deb.monish
<monish.deb@jmaconsulting.biz>
Mon, 10 Jul 2017 20:16:10 +0000
(
01:46
+0530)
CRM/Core/BAO/Tag.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/Tag.php
b/CRM/Core/BAO/Tag.php
index f2840268ea5081297f4da9518276dbb3df474295..51ab59370f7072bd61ead72955b3f0e41a99a941 100644
(file)
--- a/
CRM/Core/BAO/Tag.php
+++ b/
CRM/Core/BAO/Tag.php
@@
-333,7
+333,10
@@
class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag {
*/
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'),
);