'use strict';

module.exports = {

  post: [
    '_id',
    'to',
    'tail',
    'html',
    'user',
    'ts',
    'st',
    'ste',
    'del_reason',
    'del_by',
    'votes'
  ],

  section: [
    'hid'
  ],

  topic: [
    '_id',
    'hid',
    'cache',
    'cache_hb',
    'st',
    'ste'
  ],

  settings: [
    'can_see_ip',
    'can_see_hellbanned',
    'forum_can_view',
    'topic_title_min_length',
    'forum_can_reply',
    'forum_edit_max_time',
    'forum_can_close_topic',
    'forum_mod_can_delete_topics',
    'forum_mod_can_hard_delete_topics',
    'forum_mod_can_see_hard_deleted_topics',
    'forum_mod_can_edit_posts',
    'forum_mod_can_pin_topic',
    'forum_mod_can_edit_titles',
    'forum_mod_can_close_topic',
    'can_vote',
    'votes_add_max_time'
  ]
};

'use strict';

module.exports = {

  post: [
    '_id',
    'to',
    'tail',
    'html',
    'user',
    'ts',
    'st',
    'ste',
    'del_reason',
    'del_by',
    'votes'
  ],

  section: [
    'hid'
  ],

  topic: [
    '_id',
    'hid',
    'cache',
    'cache_hb',
    'st',
    'ste',
    'title'
  ],

  settings: [
    'can_see_ip',
    'can_see_hellbanned',
    'forum_can_view',
    'topic_title_min_length',
    'forum_can_reply',
    'forum_edit_max_time',
    'forum_can_close_topic',
    'forum_mod_can_delete_topics',
    'forum_mod_can_hard_delete_topics',
    'forum_mod_can_see_hard_deleted_topics',
    'forum_mod_can_edit_posts',
    'forum_mod_can_pin_topic',
    'forum_mod_can_edit_titles',
    'forum_mod_can_close_topic',
    'can_vote',
    'votes_add_max_time'
  ]
};

Add "title" to forum.topic.list.by_page request
Add "title" to forum.topic.list.by_page request

This fixes "[missing variable: title]" error when you visit
/forum/fX/topicY page and click on "More posts".
