You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Clicking on the pagination button, [Previous/Next], at the DatabaseDetails page does not trigger any action, so it doesn't allow the user to paginate through the database schemas list.
pagination_error.mov
To Reproduce
Ingest 20 database schemas under a single db, and try to paginate through them via the Previous/Next button from the UI
Expected behavior
Paginate button Previous/Next should allow the user to paginate through the database schema list.
Additional context
It seems that in the DatabaseDetailsPage.tsx file, this line: Boolean(searchSchema) is setting the isNumberBased flag in the NextPrevious component to true.
Affected module
UI
Describe the bug
Clicking on the pagination button, [Previous/Next], at the DatabaseDetails page does not trigger any action, so it doesn't allow the user to paginate through the database schemas list.
pagination_error.mov
To Reproduce
Ingest 20 database schemas under a single db, and try to paginate through them via the Previous/Next button from the UI
Expected behavior
Paginate button Previous/Next should allow the user to paginate through the database schema list.
Version:
openmetadata-ingestion[docker]==1.2.0.1
Additional context
It seems that in the DatabaseDetailsPage.tsx file, this line:
Boolean(searchSchema)
is setting theisNumberBased
flag in theNextPrevious
component totrue.
When the
isNumberBased
flag is set totrue
in theNextPrevious
pagination component, thencursorType
is not passed topagingHandler.
When no
cursorType
type object is passed todatabaseSchemaPagingHandler,
thedatabaseSchemaPagingHandler
logic is disabled.The text was updated successfully, but these errors were encountered: