# How do I set the order of pinned topics

**URL:** https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935
**Category:** Feature
**Created:** [27 ביוני,‏ 2014,‏ 10:42pm UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935 "2014-06-27T22:42:46Z")
**Posts on this page:** 9
**Page:** 2

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [23 במרץ,‏ 2021,‏ 11:05pm UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/25 "2021-03-23T23:05:47Z")

</div>

Sure, @Osama a small one for you, careful with the tests and perf, topic\_query gets very complicated.

Low priority, no urgency here at all.

---

<div class="post-metadata">

### Author: ![ked](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ked/32/64837_2.png) [@ked](https://meta.discourse.org/u/ked)
#### Post date: [13 באוגוסט,‏ 2021,‏ 8:51pm UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/28 "2021-08-13T20:51:48Z")

</div>

> [@sam](#):
>
> Advantage from a site operators perspective is that they can easily and unconditionally keep the most important pin at the top. (want something on top, unpin / pin)

I read and follow the conversation here, down to this statement (which suggests that this approach is decided upon and implemented). I am however not observing re-ordering based upon unpinning/repinning.

Is there something I’m obviously missing?

EDIT: I just discovered that in fact this operation is still being influenced by whether the Topic is Closed or not. So, opening it seemed to do the trick.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [16 באוגוסט,‏ 2021,‏ 6:52am UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/29 "2021-08-16T06:52:42Z")

</div>

Kenny, my suggestion is still on @Osama’s list, we will get this sorted over the next 2 weeks or so.

---

<div class="post-metadata">

### Author: ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)
#### Post date: [19 באוגוסט,‏ 2021,‏ 11:36am UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/30 "2021-08-19T11:36:50Z")

</div>

> [@sam](#):
>
> We could **unconditionally** regardless of topic list ordering, order pins based off “pinned\_at” date.

This PR implements this ⬆ behavior:

[https://github.com/discourse/discourse/pull/14090](https://github.com/discourse/discourse/pull/14090)

---

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [22 באוגוסט,‏ 2021,‏ 11:04pm UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/31 "2021-08-22T23:04:55Z")

</div>

Hi all, I just noticed the change after updating our community. For our use case, this new behavior is very suboptimal. Any chance to have an option for the old behavior via a setting in the admin section?

---

<div class="post-metadata">

### Author: ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)
#### Post date: [23 באוגוסט,‏ 2021,‏ 12:09am UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/32 "2021-08-23T00:09:07Z")

</div>

I would probably want to report that as a bug if I had been using Discourse for longer. It makes the change on the basis that the previous behaviour is undesirable, removing behaviour that admin and regular users will have come to expect and may or may not desire.

In addition, the way the feature is described implies that the purpose is to give admin more control over the order, however that feels incomplete as there is no means of reordering the pins besides unpinning/pinning.

* * *

I think pin ordering should be a setting at category level. An option to choose between `bumped_at` and `pinned_at`, defaulted to `bumped_at` for a relatively simple change that doesn’t affect existing admin. (I recognise that is made non-trivial by localisation though.)

Longer term, I think this should be a `fixed pin positions` checkbox with UI to reorder the pins much like the UI for reordering categories when using `fixed category positions`.

---

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [23 באוגוסט,‏ 2021,‏ 9:44am UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/33 "2021-08-23T09:44:17Z")

</div>

100% agree. For us, this latest change has a negative impact. As we dynamically globally pin and unpin topics based on engagement via the API. Now users can’t see anymore to which of the pinned topics another user replied last because the whole pinned section is not dynamic anymore but static.

---

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [25 באוגוסט,‏ 2021,‏ 5:32pm UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/34 "2021-08-25T17:32:18Z")

</div>

Engagement in our community is already falling off the cliff since this change. Kindly can we get a setting for this and optionally revert to the old behavior, or do I have to patch this change out of core?

---

<div class="post-metadata">

### Author: ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)
#### Post date: [30 באוגוסט,‏ 2021,‏ 8:01am UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/35 "2021-08-30T08:01:00Z")

</div>

This topic was automatically closed after 10 days. New replies are no longer allowed.

[Previous page](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935.md?page=1)
