-
Notifications
You must be signed in to change notification settings - Fork 356
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
Fix incorrect title while displaying Datastore details page #4529
Fix incorrect title while displaying Datastore details page #4529
Conversation
@miq-bot add_label bug, gaprindashvili/yes |
217ad32
to
e16b86b
Compare
a316d17
to
102f475
Compare
da6a365
to
244916e
Compare
244916e
to
d0138c0
Compare
Checked commits hstastna/manageiq-ui-classic@82d1469~...ef055df with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@mzazrivec @martinpovolny Hakiri warning https://hakiri.io/github/ManageIQ/manageiq-ui-classic/master/ef055df2501bf6d1d481c7f4511675c534b0cd01/warnings?name=Dynamic+Render+Path is unrelated to changes in this PR. Looks like it's introduced in #4539 |
@h-kataria : @mzazrivec is working on it. We are consulting the best approach. |
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1620745
There is a small bug related to Datastores: incorrect title is displayed while displaying Datastore details page: unnecessary 'Names with.. ' and/or 'Filtered by..' is added to the title (right cell text), if any filtering (basic or advanced search) was applied on the list of datastores, before displaying datastore's details page.
Steps to reproduce:
(click on some filter in accordion or use Advanced Search)
Before:
After:
Note:
The fix was inspired by service controller https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/controllers/service_controller.rb#L307 and https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/controllers/service_controller.rb#L332 which works well.