- Status changed to Needs work
11 months ago 10:06am 10 March 2024 - Assigned to ivnish
- Status changed to Needs review
11 months ago 1:02pm 10 March 2024 - Status changed to Needs work
11 months ago 1:34pm 12 March 2024 - Status changed to Needs review
11 months ago 3:23pm 12 March 2024 - Status changed to Needs work
10 months ago 8:20am 9 April 2024 - 🇧🇪Belgium BramDriesen Belgium 🇧🇪
Left some comments on the MR.
I've been thinking a bit about this feature. Wouldn't it be better to use a select list instead of a boolean value to orde by descending values? I can see a feature request coming to do the opposite of this ticket. Which would then probably introduce yet another checkbox.
Proposed select list values:
- By Weight (default)
- Alphabetical?
- By Votes Asc
- By Votes Desc
...This would also make it easier to extend with more order/sorting logic, although I think the list is quite complete.
Also updated credits.
- 🇧🇪Belgium BramDriesen Belgium 🇧🇪
Hiding patches in favour of the merge request.
- Status changed to Needs review
10 months ago 12:06pm 9 April 2024 - ivnish Kazakhstan
I added commit to MR with order type select. Please review, test and comment
- Status changed to Needs work
10 months ago 12:31pm 9 April 2024 - 🇧🇪Belgium BramDriesen Belgium 🇧🇪
I think some changes to the tests are also required
- ivnish Kazakhstan
I think some changes to the tests are also required
Can you explain? Or do you want to fix it yourself?
- ivnish Kazakhstan
The tests should check each of the options.
It existing now
Default sort https://git.drupalcode.org/project/poll/-/merge_requests/41/diffs#f1854a...
Votes asc https://git.drupalcode.org/project/poll/-/merge_requests/41/diffs#f1854a...
Votes desc https://git.drupalcode.org/project/poll/-/merge_requests/41/diffs#f1854a...
- Status changed to Needs review
10 months ago 1:48pm 9 April 2024 - Status changed to Needs work
10 months ago 7:33am 15 April 2024 - 🇧🇪Belgium BramDriesen Belgium 🇧🇪
Added two suggestions (readability mostly), and there is still one issue open one on the test
- Status changed to Needs review
10 months ago 9:56am 15 April 2024 - Status changed to RTBC
10 months ago 12:15pm 15 April 2024 - 🇧🇪Belgium BramDriesen Belgium 🇧🇪
I think this is ok now. Will ask Berdir for a review as well.
- Issue was unassigned.
-
BramDriesen →
committed 53600928 on 2.0.x authored by
ivnish →
Issue #3190320 by ivnish, beatrizrodrigues, BramDriesen, paulocs: Make...
-
BramDriesen →
committed 53600928 on 2.0.x authored by
ivnish →
- Status changed to Fixed
9 months ago 9:23pm 23 May 2024 - 🇧🇪Belgium BramDriesen Belgium 🇧🇪
Went ahead and merged this. If there would still be any feedback we can still fix it on the dev branch/new ticket.
Thanks everyone!
Automatically closed - issue fixed for 2 weeks with no activity.