projects
/
WP-Plugins
/
glm-member-db-packaging.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8758b
)
Change order of expired and add where for expired list handling
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 21 Sep 2018 22:06:09 +0000
(18:06 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 21 Sep 2018 22:06:09 +0000
(18:06 -0400)
setup/adminHooks.php
patch
|
blob
|
history
diff --git
a/setup/adminHooks.php
b/setup/adminHooks.php
index
6e72d75
..
cf10620
100644
(file)
--- a/
setup/adminHooks.php
+++ b/
setup/adminHooks.php
@@
-137,10
+137,12
@@
add_filter(
'id' => 'expired',
'title' => "Expired Packages",
'slug' => "expired-packages",
+ 'order' => 5,
'template' => 'list',
'entityID' => 'packageID',
'table' => $packagesTable,
- 'fields' => "id, title, ref_type, ref_dest",
+ 'fields' => "id, title, ref_type, ref_dest, expire_date",
+ 'where' => 'WHERE expire_date < NOW()',
// 'fields' => [
// 'id',
// 'title',