[geeklog-cvs] geeklog: Template list now ordered by title in staticpage editor
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Sep 18 14:06:35 EDT 2010
changeset 7977:355ee96c5796
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/355ee96c5796
user: Tom <websitemaster at cogeco.net>
date: Sat Sep 18 14:05:32 2010 -0400
description:
Template list now ordered by title in staticpage editor
diffstat:
public_html/admin/plugins/staticpages/index.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 62d83c93f503 -r 355ee96c5796 public_html/admin/plugins/staticpages/index.php
--- a/public_html/admin/plugins/staticpages/index.php Sat Sep 18 14:04:38 2010 -0400
+++ b/public_html/admin/plugins/staticpages/index.php Sat Sep 18 14:05:32 2010 -0400
@@ -500,7 +500,7 @@
$perms = ' AND ' . $perms;
}
- $sql = "SELECT sp_id, sp_title FROM {$_TABLES['staticpage']} WHERE template_flag = 1 AND (draft_flag = 0)" . $perms;
+ $sql = "SELECT sp_id, sp_title FROM {$_TABLES['staticpage']} WHERE template_flag = 1 AND (draft_flag = 0)" . $perms . " ORDER BY sp_title";
$result = DB_query ($sql);
$nrows = DB_numRows ($result);
More information about the geeklog-cvs
mailing list