Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added option to filter by download, star etc. on author page. #969

Merged
merged 1 commit into from
Jul 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -117,10 +117,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