YARN-10377. Fix filter index to show apps while clicking on queue in RM UI

Contributed by Tarun Parimi.
This commit is contained in:
Prabhu Joseph 2020-08-04 23:10:42 +05:30 committed by Prabhu Joseph
parent aa5afa72c5
commit 0277856738

View File

@ -651,7 +651,9 @@ public void render(HtmlBlock.Block html) {
" q = q.substr(q.lastIndexOf(':') + 2);",
" q = '^' + q.substr(q.lastIndexOf('.') + 1) + '$';",
" }",
" $('#apps').dataTable().fnFilter(q, 4, true);",
// Update this filter column index for queue if new columns are added
// Current index for queue column is 5
" $('#apps').dataTable().fnFilter(q, 5, true);",
" });",
" $('#cs').show();",
"});").__().