summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-06-19 10:39:36 +0000
committerDries Buytaert <dries@buytaert.net>2004-06-19 10:39:36 +0000
commitcbc230a36c16fc246064e9e8c2766cae951ef99c (patch)
treef2f885568eaff4d3968bc48540ef2af73218f5f6 /includes
parentc51805aa8a1444db173c63881e2e7147d7d4839b (diff)
downloadbrdo-cbc230a36c16fc246064e9e8c2766cae951ef99c.tar.gz
brdo-cbc230a36c16fc246064e9e8c2766cae951ef99c.tar.bz2
- Patch #7696 by TDobes: renamed 'static' to 'sticky' which is a more
logical name. Requires a database upgrade.
Diffstat (limited to 'includes')
-rw-r--r--includes/pager.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pager.inc b/includes/pager.inc
index c15515589..7dc4221b4 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -15,8 +15,8 @@
* by the query to (among others) compute the number of pages (= number of all
* records / number of records per page). This is done by inserting "COUNT(*)"
* in the original query, ie. by rewriting the original query, say "SELECT nid,
- * type FROM node WHERE status = '1' ORDER BY static DESC, created DESC" to read
- * "SELECT COUNT(*) FROM node WHERE status = '1' ORDER BY static DESC, created
+ * type FROM node WHERE status = '1' ORDER BY sticky DESC, created DESC" to read
+ * "SELECT COUNT(*) FROM node WHERE status = '1' ORDER BY sticky DESC, created
* DESC". Rewriting the query is accomplished using a regular expression.
*
* Unfortunately, the rewrite rule does not always work as intended for queries