Skip to content

Commit

Permalink
Merge pull request #969 from newswangerd/author-sort-options
Browse files Browse the repository at this point in the history
Added option to filter by download, star etc. on author page.
  • Loading branch information
Chris Houseknecht committed Jul 28, 2018
2 parents 115670a + 160c677 commit 76f0f3d
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions galaxyui/src/app/authors/detail/author-detail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,25 @@ export class AuthorDetailComponent implements OnInit {
sortType: 'alpha'
},
{
id: 'description',
title: 'Description',
sortType: 'alpha'
}
id: 'download_count',
title: 'Downloads',
sortType: 'numeric'
},
{
id: 'stargazers_count',
title: 'Stars',
sortType: 'numeric'
},
{
id: 'watchers_count',
title: 'Watchers',
sortType: 'numeric'
},
{
id: 'forks_count',
title: 'Forks',
sortType: 'numeric'
},
],
isAscending: true
} as SortConfig;
Expand Down

0 comments on commit 76f0f3d

Please sign in to comment.