projects
/
web
/
MichiganTrailMaps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29515fb
)
Need to only get active pages
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 3 Dec 2013 19:39:46 +0000
(19:39 +0000)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 3 Dec 2013 19:39:46 +0000
(19:39 +0000)
add active = true
Toolkit/Template/Page/SiteMap.php
patch
|
blob
|
history
diff --git
a/Toolkit/Template/Page/SiteMap.php
b/Toolkit/Template/Page/SiteMap.php
index
bdea135
..
cedf5ea
100644
(file)
--- a/
Toolkit/Template/Page/SiteMap.php
+++ b/
Toolkit/Template/Page/SiteMap.php
@@
-116,6
+116,7
@@
class Toolkit_Template_Page_SiteMap
SELECT id, navigation_name, parent,include_members
FROM pages
WHERE parent = :parent
+ AND active = true
$where
ORDER BY parent, pos";
} else {
@@
-123,6
+124,7
@@
class Toolkit_Template_Page_SiteMap
SELECT id, navigation_name, parent
FROM pages
WHERE parent = :parent
+ AND active = true
$where
ORDER BY parent, pos";
}