mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-02 21:57:17 +00:00
5 lines
177 B
CoffeeScript
5 lines
177 B
CoffeeScript
Darkswarm.factory 'Hubs', ($location, hubs, $filter, CurrentHub) ->
|
|
new class Hubs
|
|
constructor: ->
|
|
@hubs = $filter('orderBy')(hubs, ['-active', '+orders_close_at'])
|