Skip to content

Conversation

@Fine0830
Copy link
Member

@Fine0830 Fine0830 commented Jan 5, 2026

@Fine0830 Fine0830 requested a review from Copilot January 5, 2026 09:50
@Fine0830 Fine0830 self-assigned this Jan 5, 2026
@Fine0830 Fine0830 added the bug Something isn't working label Jan 5, 2026
@Fine0830 Fine0830 added this to the 10.4.0 milestone Jan 5, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the log pagination logic to address issue #13646. The changes correct the pagination calculation to properly determine when there are more pages available and introduce a centralized page size constant.

  • Inverted the pagination total calculation logic to correctly show when more pages exist
  • Introduced a displayLogs computed property to control which logs are displayed in the table
  • Centralized the page size default value (changed from 15 to 21) using a PageSizeDefault constant

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/views/dashboard/related/log/List.vue Updated pagination logic by inverting the total calculation condition, added displayLogs computed property, and switched to using PageSizeDefault constant
src/store/modules/log.ts Introduced PageSizeDefault constant (value 21) and updated initial paging configuration to use this constant

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Fine0830 Fine0830 requested a review from wu-sheng January 5, 2026 10:05
@wu-sheng wu-sheng merged commit f74a59f into apache:main Jan 5, 2026
5 checks passed
@Fine0830 Fine0830 deleted the bugfix/pagination branch January 5, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pagination of logs is not working for banyandb:0.9.0 and oap-server:10.3.0

2 participants