Merge pull request #463 from jzelinskie/fixpagination
fix pagination of tags in API
This commit is contained in:
commit
ece08f6e88
3 changed files with 16 additions and 1 deletions
|
@ -134,6 +134,7 @@ def list_repository_tag_history(repo_obj, page=1, size=100, specific_tag=None):
|
|||
.where(RepositoryTag.repository == repo_obj)
|
||||
.where(RepositoryTag.hidden == False)
|
||||
.order_by(RepositoryTag.lifetime_start_ts.desc())
|
||||
.order_by(RepositoryTag.name)
|
||||
.paginate(page, size))
|
||||
|
||||
if specific_tag:
|
||||
|
|
Reference in a new issue