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:
d920f74
)
Add order by for the groups.
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 8 Aug 2018 20:39:04 +0000
(16:39 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 8 Aug 2018 20:39:04 +0000
(16:39 -0400)
Sort the groups by their order.
setup/frontHooks.php
patch
|
blob
|
history
diff --git
a/setup/frontHooks.php
b/setup/frontHooks.php
index
65f4327
..
8304a48
100644
(file)
--- a/
setup/frontHooks.php
+++ b/
setup/frontHooks.php
@@
-168,7
+168,8
@@
add_filter(
"SELECT *
FROM $groupTable
WHERE uid = %s
- AND publish",
+ AND publish
+ ORDER BY group_order",
$uid
),
ARRAY_A