# メインページの上部メニューに「投票」オプション

**URL:** <https://meta.discourse.org/t/a-votes-option-for-the-top-menu-in-main-page/208424>\
**Category:** Feature\
**Tags:** topic-voting\
**Created:** [2021 年 11 月 6 日午前 8:52 UTC](https://meta.discourse.org/t/a-votes-option-for-the-top-menu-in-main-page/208424 "2021-11-06T08:52:21Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [2021 年 11 月 10 日午前 2:50 UTC](https://meta.discourse.org/t/a-votes-option-for-the-top-menu-in-main-page/208424/6 "2021-11-10T02:50:19Z")

</div>

このようなものでうまくいくはずです。

> <https://github.com/discourse/discourse-topic-voting/pull/105>
>
> Adds settings that allow you to use the \`\`votes\`\` and \`\`my votes\`\` lists on the …homepage.
> 
> Note that \`\`/votes\`\` and \`\`/latest?order=votes\`\` currently return different results, partly because the topic list version has a secondary order attribute \`\`topics.bumped\_at\`\`. I've added that as a secondary attribute to the \`\`/votes\`\` list.

2つの設定が追加されます。

- voting\_show\_votes\_on\_homepage: 「ホームページに投票リストナビゲーション項目を表示しますか？」
- voting\_show\_votes\_before: 「このナビゲーション項目の前に投票リストナビゲーション項目を表示します」

現在、プラグインの `/votes` と `/latest?order=votes` の間にこの機能に影響する違いがあるため、ドラフト状態のままにしてあります。まず、メンテナーからのフィードバックが必要です。

---

_[View the full topic](https://meta.discourse.org/t/a-votes-option-for-the-top-menu-in-main-page/208424)._
