Skip to content

Commit

Permalink
Merge pull request galaxyproject#19090 from martenson/lib-offset
Browse files Browse the repository at this point in the history
avoid possible negative offset
  • Loading branch information
martenson authored Nov 1, 2024
2 parents 80ce8ad + 8557fcb commit 6c4a300
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ export default {
this.sortBy,
this.sortDesc,
this.perPage,
(this.currentPage - 1) * this.perPage,
(this.currentPage ? this.currentPage - 1 : 0) * this.perPage,
this.searchText
)
.then((response) => {
Expand Down

0 comments on commit 6c4a300

Please sign in to comment.