gocast icon indicating copy to clipboard operation
gocast copied to clipboard

reverse course order

Open 0ql opened this issue 2 years ago • 1 comments

Description

Change the order planned or upcoming courses are shown.

Motivation and Context

Usually newest dates are displayed first instead of last.

Implementation: Simply reverse the array that holds the information about given upcoming or planned courses

0ql avatar Oct 19 '22 12:10 0ql

This would be where I'd try to fix this with runtime in mind: https://github.com/joschahenningsen/TUM-Live/blob/0f4e2160ea76523450db81a0798ac373dadfcc4c/dao/streams.go#L254

Note: If the query is used somewhere else we'd need to make the order of the methods result configurable

joschahenningsen avatar Oct 21 '22 18:10 joschahenningsen

Is there a reason this isn't merged yet? The query isn't used anywhere else so there is no need for configuration.

0ql avatar Nov 02 '22 09:11 0ql

No, no reason! I was at a conference and didn't find a minute to review this yet :)

Am Mi., 2. Nov. 2022 um 10:15 Uhr schrieb Kaffee☕ @.***

:

Is there a reason this isn't merged yet? The query isn't used anywhere else so there is no need for configuration.

— Reply to this email directly, view it on GitHub https://github.com/joschahenningsen/TUM-Live/pull/731#issuecomment-1299914955, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKV24QF2WIEB6625WPB47KDWGIWJNANCNFSM6AAAAAARJCR5LI . You are receiving this because you commented.Message ID: @.***>

joschahenningsen avatar Nov 02 '22 09:11 joschahenningsen