-
Notifications
You must be signed in to change notification settings - Fork 17
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
#526 feat: Add pagination of Podcast episodes #537
Conversation
Bumps [org.owasp:dependency-check-maven](https://github.com/jeremylong/DependencyCheck) from 10.0.1 to 10.0.2. - [Release notes](https://github.com/jeremylong/DependencyCheck/releases) - [Changelog](https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md) - [Commits](jeremylong/DependencyCheck@v10.0.1...v10.0.2) --- updated-dependencies: - dependency-name: org.owasp:dependency-check-maven dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.23.0 to 0.24.0. - [Release notes](https://github.com/aquasecurity/trivy-action/releases) - [Commits](aquasecurity/trivy-action@0.23.0...0.24.0) --- updated-dependencies: - dependency-name: aquasecurity/trivy-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.3.0 to 3.3.1. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](apache/maven-surefire@surefire-3.3.0...surefire-3.3.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.17.2 to 1.18.1. - [Release notes](https://github.com/jhy/jsoup/releases) - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md) - [Commits](jhy/jsoup@jsoup-1.17.2...jsoup-1.18.1) --- updated-dependencies: - dependency-name: org.jsoup:jsoup dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…updates podcast episodes
…-podcast-episode-pagination
…-podcast-episode-pagination
…-podcast-episode-pagination
…-podcast-episode-pagination
@@ -104,6 +105,11 @@ | |||
} | |||
} | |||
|
|||
function changePageSize(size) { | |||
var baseUrl = /*"[(@{/podcastChannel.view(page=0, id=${command.channel.id}})]"*/ "podcastChannel.view?page=0&id=0"; | |||
location.href = baseUrl + "&size=" + size; |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
<div class="dataTables_wrapper"> | ||
<div name="table_length" th:if="${pages.totalPages gt 1}" class="dataTables_length"> | ||
<label>Show </label> | ||
<select name="table_length" aria-controls="table" class="custom-select custom-select-sm form-control form-control-sm" onchange="javascript:location.href=this.options[this.selectedIndex].value"> |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
@@ -104,6 +105,14 @@ | |||
} | |||
} | |||
|
|||
function changePageSize(path) { | |||
if (path && path.startsWith('/') ) { | |||
location.href = path; |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
Fix #526
To avoid the problem of huge request at bulk updating podcast episodes, I have implemented the pagination feature.