projects
/
WP-Plugins
/
glm-member-db-fields.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19feac9
)
Use order for the custom fields.
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 13 Apr 2017 19:43:39 +0000
(15:43 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 13 Apr 2017 19:43:39 +0000
(15:43 -0400)
Use the field_order to sort the order of custom fields.
models/admin/memberinfo/fields.php
patch
|
blob
|
history
diff --git
a/models/admin/memberinfo/fields.php
b/models/admin/memberinfo/fields.php
index
6d04c6f
..
372cc4b
100644
(file)
--- a/
models/admin/memberinfo/fields.php
+++ b/
models/admin/memberinfo/fields.php
@@
-147,7
+147,7
@@
class GlmMembersAdmin_memberinfo_fields extends GlmDataFieldsCustomFields
}
// Get list of Custom Fields
- $customFields = $this->getList();
+ $customFields = $this->getList(
null, 'field_order,id'
);
if ( isset($customFields) && $customFields && count( $customFields ) > 0 ) {
$haveCustomFields = true;
}