You are here

function _forum_get_topic_order_sql in Drupal 4

Same name and namespace in other branches
  1. 5 modules/forum/forum.module \_forum_get_topic_order_sql()
  2. 6 modules/forum/forum.module \_forum_get_topic_order_sql()
1 call to _forum_get_topic_order_sql()
theme_forum_topic_navigation in modules/forum.module
Format the next/previous forum topic navigation links.

File

modules/forum.module, line 1124
Enable threaded discussions about general topics.

Code

function _forum_get_topic_order_sql($sortby) {
  $order = _forum_get_topic_order($sortby);
  return $order['field'] . ' ' . $order['sort'];
}