Commit 826d0084 authored by OnceUponAFoodsharingTime's avatar OnceUponAFoodsharingTime Committed by Matthias Larisch

Resolve "Sort list by Alpabet, not by opening date."

parent 74f1a496
Pipeline #20752708 passed with stages
in 10 minutes and 14 seconds
......@@ -6,6 +6,7 @@
## Features
- decreased distance to "close baskets" from 50 to 30 km. !332 #338 by @peter.toennies
- sort fairtiler list by name. !357 #171 by @k.miklobusec
## Bugfixes
- Remove info section from foodsaver page, if it is empty !320
......
......@@ -106,6 +106,7 @@ class FairTeilerGateway extends BaseGateway
FROM `fs_fairteiler`
WHERE `bezirk_id` IN( ' . implode(',', $bezirk_ids) . ' )
AND `status` = 1
ORDER BY `name`
', [])
) {
foreach ($fairteiler as $key => $ft) {
......@@ -140,6 +141,7 @@ class FairTeilerGateway extends BaseGateway
WHERE ft.bezirk_id = bz.id
AND ft.`bezirk_id` IN(' . implode(',', $bezirk_ids) . ')
AND ft.`status` = 1
ORDER BY ft.`name`
'))
) {
$out = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment