Skip to content

Web console: fix pagination and filtering regression in supervisor view#16571

Merged
cryptoe merged 2 commits intoapache:masterfrom
vogievetsky:fix_pagination_and_filtering_in_supervisor_view
Jun 7, 2024
Merged

Web console: fix pagination and filtering regression in supervisor view#16571
cryptoe merged 2 commits intoapache:masterfrom
vogievetsky:fix_pagination_and_filtering_in_supervisor_view

Conversation

@vogievetsky
Copy link
Copy Markdown
Contributor

This PR fixes 3 bugs in the supervisor view introduced as part of #16318:

  • Pagination will never show up because dynamically queried supervisors will never satisfy the supervisors.length > SMALL_TABLE_PAGE_SIZE condition
  • Filtering on the Status column fails. This is due to a typo (internally the column is actually called detailed_state)
  • Typing something into the filter then deleting it produces an invalid query with an empty WHERE

Copy link
Copy Markdown
Contributor

@cryptoe cryptoe left a comment

Choose a reason for hiding this comment

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

@vogievetsky The UT failure looks legit.

@cryptoe cryptoe merged commit efe9079 into apache:master Jun 7, 2024
@vogievetsky vogievetsky deleted the fix_pagination_and_filtering_in_supervisor_view branch June 7, 2024 15:40
cryptoe pushed a commit to cryptoe/druid that referenced this pull request Jun 7, 2024
…ew (apache#16571)

* fix pagination and filtering in supervisor view

* update snapshot

(cherry picked from commit efe9079)
vogievetsky added a commit that referenced this pull request Jun 7, 2024
…ew (#16571) (#16575)

* fix pagination and filtering in supervisor view

* update snapshot

(cherry picked from commit efe9079)

Co-authored-by: Vadim Ogievetsky <vadim@ogievetsky.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants