#3368 Order channels at hosts page
Merged 2 months ago by tkopecek. Opened 3 months ago by jcupova.
jcupova/koji issue-3367  into  master

Order channels at hosts page
Jana Cupova • 3 months ago  
file modified
+2 -1
@@ -1685,7 +1685,8 @@ 

          host['channels'] = []

          host['channels_id'] = []

          host['channels_enabled'] = []

-         for chan in channels.result:

+         channels = sorted(channels.result, key=lambda x: x['name'])

+         for chan in channels:

              host['channels'].append(chan['name'])

              host['channels_id'].append(chan['id'])

              if chan['enabled']:

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

3 months ago

Metadata Update from @mfilip:
- Pull-request tagged with: testing-done

2 months ago

Commit 1c34c8c fixes this pull-request

Pull-Request has been merged by tkopecek

2 months ago