This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/app
Osama Sayegh 810892139b
FIX: Ascending/descending sorting in the group membership requests page
The `GroupsController#members` endpoint accepts a `desc` parameter to determine how members are sorted, but it's been deprecated in favor of a boolean `asc` parameter. However, in the frontend, specifically the group membership requests page was not updated entirely to use the `asc` param and it still passes a `desc` param when changing how group requests are sorted.

This commit updates the `group-requests` Ember controller so it passes a boolean `asc` param and removes all references of `desc`. The controller view/template has already been updated to use `asc`:

207c3085fc/app/assets/javascripts/discourse/app/templates/group-requests.hbs (L15-L16)
2021-07-16 11:02:24 +03:00
..
adapters DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
components FIX: Debounce group name validation correctly (#13757) 2021-07-16 10:51:13 +08:00
controllers FIX: Ascending/descending sorting in the group membership requests page 2021-07-16 11:02:24 +03:00
helpers DEV: Don't use the Ember global (#13535) 2021-06-29 19:54:18 +02:00
initializers DEV: Refactor stylesheet live-reloading (#13755) 2021-07-16 13:43:31 +10:00
lib FIX: Various translation string fixes (#13715) 2021-07-13 12:52:13 +03:00
mixins FEATURE: update existing users when group default notifications changed. (#13434) 2021-07-15 19:53:57 +05:30
models FIX: simplify and improve choosing favorite badges (#13743) 2021-07-16 11:13:00 +08:00
pre-initializers FEATURE: add period filter in top topics route for tags. (#13415) 2021-07-06 15:25:11 +05:30
raw-views FEATURE: Add last visit indication to topic view page. (#13471) 2021-07-05 14:17:31 +08:00
routes DEV: App event when modal is closed (#13722) 2021-07-13 09:57:10 -05:00
services FIX: Handle image decoding failure in composer image optimization (#13555) 2021-06-28 18:21:39 -03:00
styles DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00
templates FIX: User's "Top badges" grid (#13752) 2021-07-15 21:16:35 +02:00
widgets FIX: Use array to keep best link for each onebox (#13717) 2021-07-14 12:51:55 +03:00
app.js FEATURE: Introduce theme/component QUnit tests (take 2) (#12661) 2021-04-12 15:02:58 +03:00
index.html DEV: Remove unused offscreen-content (#13133) 2021-05-25 18:39:06 +02:00
mapping-router.js DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00