# Sorting parameters incompatible with one another

**URL:** <https://meta.discourse.org/t/sorting-parameters-incompatible-with-one-another/264831>\
**Category:** Bug\
**Created:** [May 12, 2023, 4:00pm UTC](https://meta.discourse.org/t/sorting-parameters-incompatible-with-one-another/264831 "2023-05-12T16:00:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RyouTakeshi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryoutakeshi/32/233130_2.png) [@RyouTakeshi](https://meta.discourse.org/u/RyouTakeshi)\
**Post date:** [May 12, 2023, 4:00pm UTC](https://meta.discourse.org/t/sorting-parameters-incompatible-with-one-another/264831/1 "2023-05-12T16:00:13Z")

</div>

**Priority/Severity** :  
Low / Medium

**Platform** :  
Windows / Any known browser

**Description** :  
When changing `desktop category page style` from `Categories and Latest Topics` to `Categories and Latest Topics (sort by topic created date)` the feature automatically applies the `order=created` parameter everywhere, and this seems to mess with other parameters.

Particularly, when browsing `/top?order=created&period=all`, the `period` parameter is entirely ignored. This applies to any and all period variations, month, year, etc. The expected result would be that it merely show the top results from that period, sorted by creation date. Manually removing the `order=created` parameter fixes the issue, and makes me therefore conclude it to be the culprit.

**Reproducible steps** :  
To reproduce this bug, simply change the setting `desktop category page style` to `Categories and Latest Topics (sort by topic created date)` and browse the `Top` tab, then sort by any period of your choosing and notice that you get the same results every time.

The bug also occurs when using [safe mode](https://meta.discourse.org/t/53504?silent=true).

---

_[View the full topic](https://meta.discourse.org/t/sorting-parameters-incompatible-with-one-another/264831)._
